pkgjs / parseargs

Polyfill of `util.parseArgs()`
Apache License 2.0
121 stars 9 forks source link

refactor!: rework results to have parsedOptions property and store true in values for boolean options #80

Closed shadowspawn closed 2 years ago

shadowspawn commented 2 years ago

See #70 for longer description.

In parse results, minor code changes:

In README, more churn:

Added the examples in the README to a file so can confirm actual behaviour!

shadowspawn commented 2 years ago

Closing in favour of #83