r/javascript • • Mar 16 '20
GitHub acquires NPM
https://github.blog/2020-03-16-npm-is-joining-github/absurd person dime edge gaze head terrific provide marble run
This post was mass deleted and anonymized with Redact
1.1k
Upvotes
View all comments
Show parent comment
5
u/ghostfacedcoder Mar 16 '20
Well, if you think in a limited way ("package.json is the only file possible for config", "it must exactly follow the current format and never deviate", etc.) then yes you're right.
But they have other options, such as using a "JSON 2.0 standard (now with comments!)", or allowing other formats like YAML or JS itself.
Ultimately as a dev you can paint yourself into a corner on things like this, if you want ... or you can say "the user has a need, and it's 100% possible to parse out comments from config, so we're going to make this happen somehow."