a node.js wrapper for jsHint for ease of use when checking internal strings
npm install node-hint
to check source code string with jsHint:
var result = require(__dirname + '/../node-hint').hint(source, name, options, logger);
JSHint developed by JSHint Community.