DEV Community

Discussion on: NPM vs Yarn: which package manager do you use?

Collapse
 
midblue profile image
Jasper Stephenson • Edited

Phew, I didn't know Facebook made Yarn. That makes me way less interested in using it, honestly.

I tend to use NPM just because my bash shortcuts are already set up for it, i.e. "d" for "npm run dev".

I guess it's mostly laziness, but all of my old projects already have package.json scripts that use npm so it seems silly to try to change for marginal speed benefits.

Collapse
 
bgrgndzz profile image
Buğra Gündüz

Facebook has a lot of great open source projects, and great minds behind them! Why did it make you less interested?

Collapse
 
_hs_ profile image
HS

Trust issues I would guess. Although it's open source it might contain code which you morally disapprove. Example: some people get the base code of VS Code(forgot the name)
then build it themselves which is different from what you get if you install their /MS version.

Thread Thread
 
al5ina5 profile image
Sebastian Alsina

Would you mind elaborating? This is interesting. What code does VS Code have that is morally questionable?

Thread Thread
 
_hs_ profile image
HS • Edited

You'll have to research for more details but in short, if you download "binaries" you'll get stuff that measures metrics and such and sends them back to MS, which I'm not sure is morally bad sice you click that agree. You have multiple posts of this one.

Collapse
 
abinash393 profile image
Abinash Panda

Facebook made React, React Native, GraphQL, and so on. I don't like Microsoft but can't live without VS code, Github, NPM.

Collapse
 
_hs_ profile image
HS

Well Microsoft didn't MAKE Github nor NPM they jus bought it (github an so npm becomes part of it) so I'm not sure if it counts for that matter. Anyways too many people moved to GitLab and after experiencing some issues on Github I know why except for the fact they dislike MS. They do influence development of it so it might count.

As mentioned people still move away after such events but does it count as it would if they "made" it? For comparison Android was not made by Google but after buying it they controlled everyting (just my perspective of it might be incorrect), but MS didn't say they will write some Ruby to change the Github so does it really count?

Thread Thread
 
abinash393 profile image
Abinash Panda

Your perspective is right they acquired other companies because that will make more profit to their ecosystem.

Developers don't have a trust issue with Apple even though their products are closed source and then don't even contribute anything. And Microsoft has contributed to Linux kernel so any way we are going to have to use it. I believe its good if it's opensource.

Anyway, Competition is good npm is the best of itself because of yarn (caching and security).