node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey »

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)
}