jstransformer-css

Transform CSS to JSON AST using `reworkcss/css`.


Keywords
jstransformer
License
MIT
Install
npm install jstransformer-css@0.2.0

Documentation

jstransformer-css

CSS -> AST support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-css

API

For more use-cases see the tests

var css = require('jstransformer-css')

css.render('body {\n  font-size: 12px;\n}');
//=> json abstract syntax tree

License

MIT