Command Line Tools
Through NPM
npm i nsp -g
Through github
git clone git@github.com:nodesecurity/nsp.git
cd nsp
npm link
Takes an existing npm-shrinkwrap.json file and submits it for validation to nodesecurity.io
Example:
~/nodesecurity/jobsystem $ nsp audit-shrinkwrap
Name Installed Patched Vulnerable Dependency
connect 2.7.5 >=2.8.1 nodesecurity-jobs > kue > express
Takes an existing package.json file and submits it for validation to nodesecurity.io
Example:
~/nodesecurity/jobsystem $ nsp audit-package
Name Installed Patched Vulnerable Dependency
connect 2.7.5 >=2.8.1 nodesecurity-jobs > kue > express