Skip to content

colesanderson/yarn-audit-html

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yarn-audit-html

Language grade: JavaScript

Generate a HTML report for Yarn Audit

Install

$ yarn global add yarn-audit-html

This package uses async/await and requires Node.js 7.6

Usage

To generate a report, run the following:

$ yarn audit --json | yarn-audit-html

By default the report will be saved to yarn-audit.html

If you want to specify the output file, add the --output option:

yarn audit --json | yarn-audit-html --output report.html

Unique vulnerability list will be generated by default. If you want to show all, one-by-one, add the --no-unique option:

yarn audit --json | yarn-audit-html --no-unique

You can also fully customize the generated report by providing --template option followed by your own EJS template:

yarn audit --json | yarn-audit-html --template ./my-awesome-template.ejs

Inspired by npm-audit-html package.

License

MIT

About

Generate a HTML report for Yarn Audit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 58.4%
  • JavaScript 41.6%