grunt-nsp-package

Grunt plugin for Node Security Project package.json validation

grunt-nsp-package

Audits your package.json file against the nodesecurity.io API for validation that dependencies or dependencies of dependencies are not vulnerable to known vulnerabilities.

Installation

$ npm install grunt-nsp-package --save-dev

Usage

Add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-nsp-package');

Then use the task validate-package build tasks eg.

grunt.registerTask("default", 'validate-package');

License

MIT

Badges