jstransformer-stylecow

Stylecow support for JSTransformers.

Usage no npm install needed!

<script type="module">
  import jstransformerStylecow from 'https://cdn.skypack.dev/jstransformer-stylecow';
</script>

README

jstransformer-stylecow

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