npm-audit-plus

A wrapper around NPM's built-in audit that adds extra features

Usage no npm install needed!

<script type="module">
  import npmAuditPlus from 'https://cdn.skypack.dev/npm-audit-plus';
</script>

README

NPM Audit+

NPM Audit+ is a wrapper around NPM's built-in audit tool. It adds the following functionality:

  • Ignore particular advisories
  • Specify a project to audit
  • Output audit result as JUnit XML, compatible with many CI systems

Installation

Install globally:

npm install -g npm-audit-plus

or install locally:

npm install npm-audit-plus

Either works!

Usage

npm-audit-plus --ignore=123,456 --xml             # If installed globally
$(npm bin)/npm-audit-plus --ignore=123,456 --xml  # If installed locally

For more documentation on NPM Audit+'s flags, run

npm-audit-plus --help             # If installed globally
$(npm bin)/npm-audit-plus --help  # If installed locally