css-to-typings

css-to-typings JS library on GitHub css-to-typings JS library on npm Download css-to-typings JS library

``` npm install css-to-typings -g ```

Version 1.1.0 License MIT Vulnerabilities 1
css-to-typings has no homepage
css-to-typings JS library on GitHub
css-to-typings JS library on npm
Download css-to-typings JS library
<script type="module"> import cssToTypings from 'https://cdn.jsdelivr.net/npm/css-to-typings@1.1.0/+esm' </script>
Learn more

css-to-typings

npm install css-to-typings -g

Usage

css-to-typings -i stylesheet.css -o types.d.ts

Input

.red {
  color: red;
}
.blue-background {
  background: blue;
}

Output

export interface IShipyard {
  'red': string;
  'blue-background': string;
}

declare const styles: IShipyard;
export default styles