better-npm-audit icon indicating copy to clipboard operation
better-npm-audit copied to clipboard

Adding yaml support

Open PersonligaPersson opened this issue 2 years ago • 0 comments

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!

PersonligaPersson avatar May 27 '22 23:05 PersonligaPersson