Socket
Socket
Sign inDemoInstall

audit-export

Package Overview
Dependencies
18
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    audit-export

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


Version published
Weekly downloads
356
decreased by-3.26%
Maintainers
1
Install size
1.41 MB
Created
Weekly downloads
 

Changelog

Source

2.1.3 (2024-04-03)

Bug Fixes

  • npm ignoring unecessary files (f837393)

Readme

Source

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.

Screenshot of the output of audit-export
Example of the output file from audit-export


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.

The syntax remains consistent with the earlier version 1.0.0; however, it's advisable to always use the latest version, as it offers numerous new features and enhancements.

Installation

Install globally using npm:

npm install -g audit-export

Usage

The tool is packed with a help function to see the usage ways. To see it, just pass the --help option.

The simplest usage is as the following:

npm audit --json | audit-export

But with more customizations you can use it in two different main ways:

npm audit --json | audit-export --folder <folder_path> --file <file_name.html> --title <HTML_file_title>

or:

npm audit --json | audit-export <path> <file_name>

All parameters are optional.
By default it will use the current folder, "audit-report.html" as file name, and "NPM Audit Report" as title.

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! 🛡️🚀

Keywords

FAQs

Last updated on 03 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc