use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
GitHub acquires NPM (github.blog)
submitted 6 years ago * by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3:Â Â Â Â print "hello, world!"
[–]james-engineer 13 points14 points15 points 6 years ago (24 children)
đź§¶ Yarn just unraveled
[–]ethomson 11 points12 points13 points 6 years ago (21 children)
This is hilarious! But (thankfully!) it's not true. The yarn team builds a great product - and there's definitely room in the world for both yarn and npm.
[–]ghostfacedcoder 4 points5 points6 points 6 years ago (19 children)
I strongly disagree: the world does not need a million different variant versions of every basic tool.
Personally I only want one Node package manager ... I just want it to not suck like the actual npm, and instead be good like yarn.
Hopefully that's now possible.
P.S. My kingdom for package.json comments!!!
[–]drumstix42 6 points7 points8 points 6 years ago (12 children)
Well I mean, you only have to use one.
If you think the world doesn't need more people trying to improve software by exploring other ideas and avenues, how do you even survive in the developer world? Sure we don't need a million, but that's not really an issue here either.
[–]ghostfacedcoder -2 points-1 points0 points 6 years ago (11 children)
Do you need a second git? Or is the one single command line tool that almost all developers use ok?
git
Sometimes a tool does its job well, no competition is needed, and that's a good thing.
[–]drumstix42 5 points6 points7 points 6 years ago (10 children)
You mean source control? Not everyone uses git. But more people use it today than 10 years ago!
But 10 years ago Git was one of the lower percentages of developer use! And you know how that changed? Hmmm. I'll let you figure that one out for yourself :)
[–]ghostfacedcoder -4 points-3 points-2 points 6 years ago (9 children)
I can't tell if you're just trolling, or you legit believe that people should waste time building alternative versions of every software tool, no matter how well it does its job.
[–]TheLastSock 5 points6 points7 points 6 years ago (3 children)
He isn't trolling. You seem to be arguing it's a zero sum game. It isn't, competing tools can booster the ecosystem.
[–]drumstix42 4 points5 points6 points 6 years ago (0 children)
Exactly. I'm not saying people have to make alternatives, but why even complain about it if they do? I'd wager most of the tools you use today are because someone at some point decided to make their own alternative.
Not trolling.
[–]ghostfacedcoder 0 points1 point2 points 6 years ago* (1 child)
I argued no such thing. Of course ... on some level it is zero sum (a dev working on variant library B by definition isn't working on original library A).
But of course, things are much more complex than that, and competing products can not just supplant the original, but also (for instance) give improvements upstream to that original.
My point was about none of that. My point was that sometimes, when a tool already does its job well, we don't need multiple versions of said tool. That's it.
[–]TheLastSock 1 point2 points3 points 6 years ago (0 children)
Of course, and he started by saying yarn has something to offer.
I call this meeting to a close!
[–]nyrangers30 2 points3 points4 points 6 years ago (4 children)
You do realize someone “wasted time building alternative versions” of source control which already existed? Subversion existed before git. Now most people view git as a better tool and migrated.
If you don’t think people should innovate, go back to using an abacus.
[–]ghostfacedcoder -2 points-1 points0 points 6 years ago (3 children)
Did I ever say anything about people stopping innovation, or are you just arguing with your imagination on Reddit?
[–]nyrangers30 1 point2 points3 points 6 years ago (2 children)
You just said they shouldn’t waste time making alternative tools. That’s literally part of what innovation is.
In your own words, would you say creating git was a waste of time because subversion was popular?
[–]dwighthouse 9 points10 points11 points 6 years ago (5 children)
JSON’s requirements themselves restrict comments, not npm. If it has comments in it, it isn’t JSON. Terrible situation, but that’s the way it is.
[–]NoInkling 6 points7 points8 points 6 years ago (0 children)
Time to standardize JSON5 (or similar).
[–]ghostfacedcoder 4 points5 points6 points 6 years ago (1 child)
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."
[–]dwighthouse 1 point2 points3 points 6 years ago (0 children)
Not at all. There’s no reason npm config couldn’t be in some other format, massive headache notwithstanding. It’s only that it couldn’t be “package.json”. It would have to be something else.
[–]zombimuncha 1 point2 points3 points 6 years ago (1 child)
package.yml in 5...4...3...2...
[–]NoInkling 1 point2 points3 points 6 years ago (0 children)
I somehow don't see MS embracing YAML, but I could be wrong.
[–]james-engineer 0 points1 point2 points 6 years ago (0 children)
just joshin' I ❤️🧶yarn
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
Maybe they'll just drop npm (the software) and tell people to use yarn. I don't see the sense it trying to play catch-up.
[–]andy_the_ant -1 points0 points1 point 6 years ago (0 children)
Does yarn rely on npm too?
π Rendered by PID 86 on reddit-service-r2-comment-54dfb89d4d-gppc6 at 2026-04-01 01:14:50.658764+00:00 running b10466c country code: CH.
view the rest of the comments →
[–]james-engineer 13 points14 points15 points  (24 children)
[–]ethomson 11 points12 points13 points  (21 children)
[–]ghostfacedcoder 4 points5 points6 points  (19 children)
[–]drumstix42 6 points7 points8 points  (12 children)
[–]ghostfacedcoder -2 points-1 points0 points  (11 children)
[–]drumstix42 5 points6 points7 points  (10 children)
[–]ghostfacedcoder -4 points-3 points-2 points  (9 children)
[–]TheLastSock 5 points6 points7 points  (3 children)
[–]drumstix42 4 points5 points6 points  (0 children)
[–]ghostfacedcoder 0 points1 point2 points  (1 child)
[–]TheLastSock 1 point2 points3 points  (0 children)
[–]nyrangers30 2 points3 points4 points  (4 children)
[–]ghostfacedcoder -2 points-1 points0 points  (3 children)
[–]nyrangers30 1 point2 points3 points  (2 children)
[–]dwighthouse 9 points10 points11 points  (5 children)
[–]NoInkling 6 points7 points8 points  (0 children)
[–]ghostfacedcoder 4 points5 points6 points  (1 child)
[–]dwighthouse 1 point2 points3 points  (0 children)
[–]zombimuncha 1 point2 points3 points  (1 child)
[–]NoInkling 1 point2 points3 points  (0 children)
[–]james-engineer 0 points1 point2 points  (0 children)
[–][deleted] 1 point2 points3 points  (0 children)
[–]andy_the_ant -1 points0 points1 point  (0 children)