Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mtheoryx/npm-audit-docker

Very specific wrapper around NPM v6+ `audit` functionality
https://github.com/mtheoryx/npm-audit-docker

audit docker foss node npm utility

Last synced: 13 days ago
JSON representation

Very specific wrapper around NPM v6+ `audit` functionality

Awesome Lists containing this project

README

        

# NPM Audit

NPM Version 6+ includes a fantastic `audit` feature.

This is a docker image that you can use as a one-time-use container on any repo that has a `package.json` **and** `package-lock.json`.

## How to use

Change into any directory that has both of these

1. package.json
2. package-lock.json

Then run:

```bash
docker run -it --rm -v "$PWD"/:/usr/app/ mtheoryx/npm-audit:latest
```

The output will be the results of the audit.