jstransformer-styl
v0.2.0 jstransformer styl
jstransformer-styl
Styl support for JSTransformers.
Installation
npm install jstransformer-styl
API
var styl = require('jstransformer')(require('jstransformer-styl'))
var input = "#logo\
width: 50px\
height: @width\
absolute: top 100px left 50%\
background: linear-gradient(top, black, white)";
styl.render(input, { whitespace: true }).body
License
MIT