Skip to content

Using in a Node.js Application

Daniel Flippance edited this page Jan 23, 2015 · 3 revisions

To run CSS Lint from within a Node.js application use the following:

var cssLint = require('csslint').CSSLint;
var result = cssLint.verify("h1 { color: red; }");
Clone this wiki locally