JSPM

  • Created
  • Published
  • Downloads 3457
  • Score
    100M100P100Q117280F
  • License MIT

Pretty export your npm audit output as an offline accessible html page

Package Exports

  • audit-export
  • audit-export/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (audit-export) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Npm Audit Export 🕵️‍♂️

npm version npm downloads

A convenient tool to export npm audit results to a comprehensive offline HTML page, providing a clear overview of your project's vulnerabilities.

Inspired by npm-audit-html, but with more Node.js versions supported, offline support and lightweight ⚡

Compatibility

This package is compatible with Node.js versions 10 through 20, as well as future versions.

Installation

Install globally using npm:

npm install -g audit-export

Usage

You can use audit-export with npx audit-report or install it globally for convenient access. Here are some usage options:

  1. Export audit results to the default location (./audit-report.html):

    npm audit --json | audit-export
  2. Export audit results to a specified folder:

    npm audit --json | audit-export ../any/folder/path
  3. Export audit results to a specific file within a folder:

    npm audit --json | audit-export ../any/folder/path file-name.html

Contributing

We welcome contributions from the community! Feel free to open issues and submit pull requests on our GitHub Issues page. Your feedback and suggestions are highly appreciated.

Download

You can download the package from npm.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Happy auditing! 🛡️🚀