create flow from css
$ npm install css-to-flow
const cssToFlow = require('css-to-flow')
const css = `
.a { color: red; }
.b:hover, .c::before {
color: white;
}
.testClass, #id {color: black;}
`
cssToFlow(css)
// => @flow
// => declare export default {|
// => +'a': string,
// => +'b': string,
// => +'c': string,
// => +'testClass': string,
// => |}
Type: string
css source.
Thanks goes to these wonderful people (emoji key):
akameco 💻 📖 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
MIT © akameco