node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



A packaging of JSHint ( that provides a command-line tool to run JSHint on your JS.


$ npm install -g jshint-runner


Once installed, run jshint on any JS file with:

$ jshint thing.js


Configure jshint-runner by using a jshintrc file.

Put it in ~/.jshintrc, or for global settings in /(node install prefix)/etc/jshintrc.

The file is a JSON object that can be passed to JSHINT as its options.

See for such options.

Node compatibility

This should work with any version of Node supported by jshint. (