NPM vs Yarn | Which is the best Package Manager?

preview_player
Показать описание

In this video I talk about whether you should use NPM or Yarn as your package manager.

Рекомендации по теме
Комментарии
Автор

I like how there is a clear winner here. Makes the choice simpler. Thanks.

ling
Автор

Yarn also has the advantage of yarn workspaces which are amazing for sharing code between the mobile and the web app for example.

migueldomingos
Автор

Yeah, that's true. I switched to yarn because whenever I tried to install something using npm, it's always showed some errors. This problem really makes me sick.

richapurba
Автор

A lot of this just sounds like marketing. I don't know much about security so when you say it has enhanced security (most devs don't have an InfoSec background) it would be nice if you ran through an example in detail. Is the vulnerability in the package itself or is it in the package manager? I can just read this off of the Yarn site if I just wanted the bullet points.

Like as far as I know, NPM also has a lock file and also can install from a local cache. Unless I'm misunderstanding the difference between these two. And if that's the case, a more detailed explanation would be very helpful.

MobiusCoin
Автор

I see you got inspired by Fireship. I love his content I love to see more of this style. Keep it going.

lowkey
Автор

I'd say yarn is less popular simply because it doesn't ship with node natively. If node shipped without a default package manager and people were forced to decide, yarn would probably take the crown

tiii
Автор

Two of the most interesting package managers for JavaScript. Thank you for this great content.

usefulengineer
Автор

Ryan Dahl was creator of Node. He regrets allowing NPM becoming the sole package interface for Node and in Deno they don’t have a package manager at all. But he didn’t create NPM.

skeliskull
Автор

Good video!

I'm migrating to Yarn

josuebarros-desenvolvedorw
Автор

Hey clever programmer,
I wanna know that which library should i learn in python, I'm beginner that's why I'm worried a bit about this, could you please make a video??

salsabilruhi
Автор

2:39 why is there such a massive drop at the end?

EpicphoneGamer
Автор

When you try to use v both it makes all kinds of problems

ryanwest
Автор

I switched to yarn because npm kept having network errors and would always crash.

bitwhyze
Автор

I am moving from npm to yarn. I have spent more than 10 hours on npm stall to no avail.

paulfleischer-djoleto
Автор

"I want to give you a little bit of my experience behind them and also what the world thinks about them, and then make your own choice....but probably pick yarn."

This is why we come to you.

omerthebear
Автор

Wow , that was awesome, im gonna try out yarn

Asahi_
Автор

For me yarn is the best i don't prefer npm at all

moatazemad
Автор

I tried 'npx create-react-app myapp' but it returned 'bad network settings' error. I had struggled for 2days to solve this error and finally "yarn create react-app myapp" saved my day!!

aya
Автор

Thanks for give a lots of information in yern🥰🥰🥰

FokrulIslam-bmnu
Автор

rs happy to see a fantastic Brazilian girl at 2:51, Nathalia Arcuri :D

otaiguara