Stylecow support for JSTransformers.
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.editorconfig
.gitignore
.travis.yml
HISTORY.md
LICENSE.md
README.md
index.js
package.json

README.md

jstransformer-stylecow

Stylecow support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-stylecow

API

var stylecow = require('jstransformer')(require('jstransformer-stylecow'));

stylecow.render('p {\
  --myColor: blue;\
  background-color: var(--myColor);\
}').body
//=> Compiled CSS

License

MIT