Published on March 13, 2017 by LearnCode.academy

Yarn is the hot new drop-in NPM replacement utility for projects using node.js packages. It’s way faster, more stable, and more secure than NPM and you can use it with zero configuration on your end.

In the sample for this video, the NPM install takes between 20 and 30 seconds for just a few packages, while the yarn install takes 4-10 seconds to install all of the node packages.

Yarn is also more predictable across environments, so you don’t need to npm-shrinkswrap anything, because Yarn manages the dependency tree with a yarn.lock file automatically.

Leave a Reply

196 Comments on "Yarn vs NPM – You won’t believe how fast it is"

Notify of
avatar

Tomáš Pažourek
Guest
Tomáš Pažourek
3 months 22 days ago

Wow, 358 packages…

Tomáš Pažourek
Guest
Tomáš Pažourek
3 months 22 days ago

Wow, 358 packages…

kzif
Guest
kzif
7 months 1 day ago

BOOM! Almost BOOM! BOOM!

kzif
Guest
kzif
7 months 1 day ago

BOOM! Almost BOOM! BOOM!

伪降者
Guest
伪降者
9 months 30 days ago

well, I choose cnpm in china.. 🙁

伪降者
Guest
伪降者
9 months 30 days ago

well, I choose cnpm in china.. 🙁

Wee Ching Chok
Guest
Wee Ching Chok
10 months 1 day ago

I hate new wheel. NPM open source too. Just merge it.

Wee Ching Chok
Guest
Wee Ching Chok
10 months 1 day ago

I hate new wheel. NPM open source too. Just merge it.

Mike Valeriano
Guest
Mike Valeriano
10 months 6 days ago

hey guys, member bower? i member!

Mike Valeriano
Guest
Mike Valeriano
10 months 6 days ago

hey guys, member bower? i member!

1 2 3 10
wpDiscuz