1.5.1 • Published 5 years ago

css-to-enum v1.5.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

css-to-enum

npm install css-to-enum -g

Usage

css-to-enum -i stylesheet.css -o enum.ts
css-to-enum -i stylesheet.css -o enum.ts -e Styles
css-to-enum --help

Input

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

Output

// autogenerated with css-to-enum
export enum Styles {
  'red' = 'red',
  'blue_background' = 'blue-background',
  'super___background' = 'super---background'
}
1.5.1

5 years ago

1.5.0

5 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago