Usage in Code Posted by anton Date June 15, 2015 You can invoke the compiler from node, as such: var less = require('less'); less.render('.class { width: (1 + 1) }', function (e, output) { console.log(output.css); }); which will output .class { width: 2; } Share: anton Previous post Command-line usage June 15, 2015 Next post Configuration 15 June, 2015