security-audit
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

security-audit

Audits npm and yarn projects

Installation

npm install security-audit

How to use

npx security-audit

Options

Args Alias Description
-p --package-manager Choose a package manager auto, npm, yarn
-a --advisories Whitelisted advisory ids (default [])
-w --whitelist Whitelisted package names (default [])
-l --audit-level Fail an audit only if the results include a vulnerability with the given level or higher info, low, moderate, high, critical
-d --directory The directory containing the package.json to audit (default ./)
--registry The registry to resolve packages by name and version
--max-attempts The max number of attempts to call an unavailable registry before failing (default 5)

License

MIT

Package Sidebar

Install

npm i security-audit

Weekly Downloads

2

Version

0.0.9

License

MIT

Unpacked Size

56 kB

Total Files

20

Last publish

Collaborators

  • hupe1980