jstransformer-stylus

Stylus support for JSTransformers.

Usage no npm install needed!

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

README

jstransformer-stylus

Stylus support for JSTransformers.

Build Status Coverage Status Dependency Status Greenkeeper badge NPM version

Installation

npm install jstransformer-stylus

API

var stylus = require('jstransformer')(require('jstransformer-stylus'))

var css = "fonts = helvetica, arial, sans-serif\
body {\
  padding: 50px;\
  font: 14px/1.4 fonts;\
}"
stylus.render(css).body

License

MIT