css-to-enum
1.5.1 • Public • Published
npm install css-to-enum -g
css-to-enum -i stylesheet.css -o enum.ts
css-to-enum -i stylesheet.css -o enum.ts -e Styles
css-to-enum --help
.red {
color: red;
}
.blue-background {
background: blue;
}
.super---background {
background: blue;
}
// autogenerated with css-to-enum
export enum Styles {
'red' = 'red',
'blue_background' = 'blue-background',
'super___background' = 'super---background'
}
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads