node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

grunt-nsp-package

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

Dependency Status