Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/freedomofpress/npm-audit-plus

A wrapper around NPM's built-in audit that adds extra features
https://github.com/freedomofpress/npm-audit-plus

Last synced: 7 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# NPM Audit+

**NPM Audit+** is a wrapper around NPM's [built-in audit tool](https://docs.npmjs.com/cli/audit). 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:

```sh
npm install -g npm-audit-plus
```

or install locally:

```sh
npm install npm-audit-plus
```

Either works!

## Usage

```sh
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

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