css-to-typings

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i css-to-typings

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

6.64 kB

Total Files

7

Last publish

Collaborators

  • mkramb