npm

55.9K
41.7K
+ 1
1.6K
Yarn

10.3K
7K
+ 1
141
Add tool
Pros of npm
Pros of Yarn
  • 649
    Best package management system for javascript
  • 382
    Open-source
  • 327
    Great community
  • 147
    More packages than rubygems, pypi, or packagist
  • 112
    Nice people matter
  • 5
    Audit feature
  • 4
    Good following
  • 4
    As fast as yarn but really free of facebook
  • 1
    Stability
  • 1
    Super fast
  • 84
    Incredibly fast
  • 21
    Easy to use
  • 12
    Open Source
  • 10
    Can install any npm package
  • 7
    Works where npm fails
  • 5
    Workspaces
  • 2
    Incomplete to run tasks
Cons of npm
Cons of Yarn
  • 5
    Bad at package versioning and being deterministic
  • 4
    Problems with lockfiles
  • 3
    Node-gyp takes forever
  • 1
    Super slow
  • 15
    Facebook
  • 6
    Sends data to facebook
  • 3
    Should be installed separately
  • 2
    Cannot publish to registry other than npm

What is npm?

npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.

What is Yarn?

Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.
What companies use npm?
What companies use Yarn?
What tools integrate with npm?
What tools integrate with Yarn?
Interest over time