Timo Korinth

2 Meter, 2 Mark

Yarn vs. NPM


There’s a new rising star in the world of package managers: Yarn (by Facebook).

It promises some cool features (especially in comparison to NPM):

  • Ultra fast / Optimized network performance
  • Offline mode / Caching of packages

This sounds good so I tested it with a new Angular 2 application (created with Angular CLI). Unsurprisingly Yarn with cached packages beats them all, but the “normal” first run of Yarn was noticeable slower than the good old NPM install.

I’ve created a short video to show you the results:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.