node package manager

stylwriter

StylWriter

Simple module to convert styl files to css files and write the css file to disk.

Example

Typical usage in a http route. If a stream is passed as a second argument, the compiled css will be streamed out.

var stylwriter = require('stylwriter')
function(req, res){
  stylwriter('styles.styl', res)
}