Stylecow support for JSTransformers.
Clone or download
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

Greenkeeper badge

Stylecow support for JSTransformers.

Build Status Coverage Status Dependency Status Greenkeeper badge 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