Add tool
Pros of npm
Pros of Yarn
Pros of npm
- Best package management system for javascript649
- Open-source382
- Great community327
- More packages than rubygems, pypi, or packagist147
- Nice people matter112
- Audit feature5
- Good following4
- As fast as yarn but really free of facebook4
- Stability1
- Super fast1
Pros of Yarn
- Incredibly fast84
- Easy to use21
- Open Source12
- Can install any npm package10
- Works where npm fails7
- Workspaces5
- Incomplete to run tasks2
Cons of npm
Cons of Yarn
Cons of npm
- Bad at package versioning and being deterministic5
- Problems with lockfiles4
- Node-gyp takes forever3
- Super slow1
Cons of Yarn
- 15
- Sends data to facebook6
- Should be installed separately3
- Cannot publish to registry other than npm2
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 companies use Yarn?
What tools integrate with npm?
What tools integrate with Yarn?
What tools integrate with Yarn?
Interest over time
News about Yarn
Recommended security update
(yarnpkg.com)
Jul 12, 2019
Dependencies Done Right
(yarnpkg.com)
Apr 18, 2018
Ease the Transition to a Monorepo with Focused Workspaces
(yarnpkg.com)
May 18, 2018
Yarn import now uses package-lock.json
(yarnpkg.com)
Jun 4, 2018
nohoist in Workspaces
(yarnpkg.com)
Feb 15, 2018