npm-audit
v0.0.3
Published
Audit your NPM dependencies for malicious packages
Downloads
967
Maintainers
Readme
NPM Audit
Audit your NPM dependencies for malicious packages. Blacklisted packages are listed in blacklist.json. Please help keep this list up-to-date.
Installation
npm install --save-dev npm-audit@latest
Usage
Add scripts to your package.json
:
...
"scripts": {
"audit": "npm-audit",
"postinstall": "npm-audit",
"pretest": "npm-audit"
},
...
then:
$ npm run audit
or call it with js:
require('npm-audit')();
License
MIT