npm-audit

Audit your NPM dependencies for malicious packages

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
npm-audit
710.0.37 years ago7 years agoMinified + gzip package size for npm-audit in KB

Readme

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