Streaming less compiler
npm install lessen
Lessen is a streaming less.js compiler, because I needed and couldn't find one. It is based on the less.js code, but exports a streamable interface.
File output is streamed,
--yui-compress is enabled by default.
var lessen = ;var lessc =fileIn:'in.less'fileOut:'out.css'compress:false;lessc;
Instead of passing options object, just pass input name, output name, and callback. Only input name is required.
var options =compress:false;lessen;