Hacker News new | ask | show | jobs
by cluckindan 457 days ago
Why not use

    npm audit --json 
and just pass it to a template?
2 comments

Not easy it sounds. Generated file has JSONL and each has summary or advisory lines. My script just processes them to a Markdown in Go.
The script seems to be invoking yarn audit --json and does the templating.