@moonstone78/npmaudit
Version:
A small hobby project that reformats npm audit output.
64 lines (50 loc) • 2.07 kB
Markdown
# NpmAudit
Audit preitter
[](https://travis-ci.org/joemccann/dillinger)
## Features
- Make your audits easier to read.
## Installation
NpmAudit requires [Node.js](https://nodejs.org/) v14+ to run.
```sh
npm i -g @moonstone78/npmaudit
```
## Run
```sh
npmaudit
```
## Options
Version:
```sh
-version
-v
```
Latest version:
```sh
-latest
-l
```
Fix audit (comming soon)
```sh
-fix
-f
```
## Preview
```sh
┌ Mime ───────────────────────────────────────────────────────────┐
│ │
│• Dependency: mime │
│• Title: Regular Expression Denial of Service in mime │
│• Url: https://github.com/advisories/GHSA-wrvr-8mpx-r7pp │
│• Severity: moderate │
│• Range: <1.4.1 │
│• Nodes: node_modules/mime │
│• Npm: https://www.npmjs.com/package/mime │
│ │
└─────────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────────┐
│Low: 0 Moderate: 1 High: 3 Critical: 0 Total: 4 │
└─────────────────────────────────────────────────────────────────┘
Or
Yes!! There are NO vulnerabilities.
Total: 0
```