Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add usage instructions for --template flag
  • Loading branch information
leomelin authored Nov 15, 2019
1 parent 2f27e01 commit ea5db23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ If you want to specify the output file, add the `--output` option:
npm audit --json | npm-audit-html --output report.html
```

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

```bash
npm audit --json | npm-audit-html --template ./my-awesome-template.hbs
```

## ✍️ Authors <a name = "authors"></a>

- [@nprail](https://github.com/nprail) - Maintainer
Expand Down

0 comments on commit ea5db23

Please sign in to comment.