Package Managers for Node.js

Did you know, that apart from npm package manager, there is another package manager for Node.js that does not aim to compete but to improve and synergize?

Yarn package manager is developed by Facebook (open-sourced in 2016) as an evolution of npm (see this article). It aims to improve consistency, performance and security but still connects to the central npmjs.org repository. Therefore, it does not fork the community but provides synergy.

Apart from these two main package managers, pnpm is the only alternative I found browsing the web. Though, this comparison suggests that npm and yarn take the biggest shares and pnpm only is used by a far smaller fraction of projects.

--

--

Simon van Endern

Learner & Teacher. Software Developer & Agile Evangelist. Polyglot & Traveler.