Audits your package.json file against the nodesecurity.io API for validation that dependencies or dependencies of dependencies are not vulnerable to known vulnerabilities.
$ npm install grunt-nsp-package --save-dev
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');
MIT