dogma-css-parser
CSS parser and compiler.
npm install dogma-css-parser
Usage
Parser
To parse a CSS string into an AST you can do the following:
const css = '.foo {color: red;}'const ast =
The above example will set the constant ast to the following AST: