Socket
Book a DemoInstallSign in
Socket

npm-audit-reporter

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-audit-reporter

This project builds on top of the existing `npm audit` functionality by providing additional features and presenting audit reports in various formats such as HTML, JSON, and tables.

latest
Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
21
90.91%
Maintainers
0
Weekly downloads
 
Created
Source

NPM Audit Reporter

This project builds on top of the existing npm audit functionality by providing additional features and presenting audit reports in various formats such as HTML, JSON, and tables.

NPM


Installation

$ npm install --save npm-audit-reporter

or

$ npm install -g npm-audit-reporter

Usage

Run global

npm-audit-reporter --reporter text

Add into package scripts

{
  "scripts": {
    "audit": "npm-audit-reporter --reporter text"
  }
}

Now you can run locally or in your CI pipeline:

npm run audit

Screenshots

Output for npm-audit-reporter --reporter text:

Text audit report in tabular format

Output for npm-audit-reporter --reporter html:

HTML audit report

Options

FlagShortDescription
--reporter-r"text" for console output in tabuler format, "html" for html file

Keywords

audit

FAQs

Package last updated on 11 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts