jstransformer-styl

Styl support for JSTransformers.


Keywords
jstransformer, styl
License
MIT
Install
npm install jstransformer-styl@0.2.0

Documentation

jstransformer-styl

Styl support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

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