Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cluckindan
· 1y ago · 0 comments
Why not use
npm audit --json
and just pass it to a template?
Comments
[–]
yehors
1y ago
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.
[–]
thangngoc89
1y ago
The script seems to be invoking yarn audit --json and does the templating.