jshint-as-promised

A wrapper for jshint that provides asynchronous promises

npm install jshint-as-promised
3 downloads in the last week
12 downloads in the last month

jshint-as-promised

A wrapper for jshint that provides asynchronous promises

Getting Started

Install the module with: npm install jshint-as-promised

var jshint_as_promised = require('jshint-as-promised');
jshint_as_promised.jshint('./target.js')
    .then(function(success) {
            //success will be true if there are no errors
        },
        function(failure)
            //failure.errors will be the "errors" structure as described in the
            //use jshint as a library section of the readme
        )

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2013 Elliott B. Edwards
Licensed under the MIT license.

npm loves you