Abhay Jain

Dec 17, 2020

2 min read

Package Managers

NPM (Node Package Manager) and YARN (Yet Another Resource Negotiator) are package managers for Node.js and Javascript.

Why yarn was developed when there was already npm?

How Installation of packages takes place?

  • npm — 3.572 seconds
  • Yarn — 1.44 seconds

Lock file generation


Final overview