Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

grunt-nsp-package

nodesecurity36MITdeprecated0.0.5

new api version released, use grunt-nsp instead

Grunt plugin for Node Security Project package.json validation

nsp, grunt, gruntplugin, package, package.json, security

readme

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