better-npm-audit
better-npm-audit copied to clipboard
Adding yaml support
I've added basic support for writing YAML in the nsprc configuration file. This was requested in issue #70.
The basic idea was to use the package yaml to parse the .nsprc file. I've ran this code with the the equivalent nsprc files
1070404: active: true notes: my note expiry: '2022-05-30'
and
{ "1070404": { "active": true, "notes": "These are my notes", "expiry": '2022-05-30' } }
on a project I'm working on which produced the same output.
Let me know if there are any changes needed for the PR to be accepted. Thanks!