Skip to content

jstransformers/jstransformer-styl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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