0.2.0 • Published 7 years ago

jstransformer-styl v0.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

jstransformer-styl

Styl support for JSTransformers.

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