This package consists in a CLI tool that enables developers or CI tools to check if their Node.js projects are using packages with known and public vulnerable dependencies. The vulnerability database is provided by the Node Security Project

Through npm:
npm i nsp -gThrough GitHub:
git clone git@github.com:nodesecurity/nsp.git
cd nsp
npm linkTakes an existing npm-shrinkwrap.json file and submits it for validation to nodesecurity.io
Example:
$ nsp audit-shrinkwrap
Name Installed Patched Vulnerable Dependency
connect 2.7.5 >=2.8.1 nodesecurity-jobs > kue > expressTakes an existing package.json file and submits it for validation to nodesecurity.io
Example:
$ nsp audit-package
Name Installed Patched Vulnerable Dependency
connect 2.7.5 >=2.8.1 nodesecurity-jobs > kue > express