pkgjs / parseargs

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

docs: add strict:false example to upstream ? #114

Closed shadowspawn closed 1 year ago

shadowspawn commented 2 years ago

The upstream docs do not include an example of zero-config parsing, with strict:false. Want one?

It was a big part of the initial design, we were considering shipping without strict! Although the current contributors are all strict-friendly. 👮

This could mention explicitly that most error checking in strict:false is left to the author. 😅

shadowspawn commented 2 years ago

Also, no worries if want to focus on the functional changes first and catch up with improvements to the documentation later.

bcoe commented 2 years ago

@shadowspawn my preference would be to land an MVP, and then follow up immediately with smaller improvements.

There have been 217 points of feedback on the PR against Node so far, too many more and I think there's a danger my computer gets thrown off the back patio :stuck_out_tongue:

shadowspawn commented 1 year ago

Didn't get any interest in this and/or subsequent comments from users. Closing.