Tech Tree of the Web

The history of web technology, 1945 to now: 112 ideas and the lines between them. Drag, scroll or press ← → to travel. Open any one for its story.

No. 085 / 112Seen 0 / 112Colophon

The Platform

npm, 2010. Era V, The Platform.

Era V · 2008–2016

← drag · scroll · arrow keys →

Terminal output of npm listing the dependency tree of the webpack package, every nested package pulled from the npm registry.

Terminal output of npm listing the dependency tree of the webpack package, every nested package pulled from the npm registry. NNikkhoui (WMF), CC BY-SA 4.0

Key details

When
2010 (version 0.0.1 tagged 12 January 2010; npm 1.0 on 1 May 2011)
Who
Isaac Z. Schlueter; later npm, Inc. with Laurie Voss
Where
Node.js community; npm, Inc. in Oakland, California from 2014
Answered
Schlueter created it in response to module packaging systems he considered inadequate.
Led to
Its registry grew to over 3.1 million packages and became part of GitHub when npm, Inc. was acquired in March 2020.

No. 085 · 2010 · Script · Era V, The Platform

npm

Gave JavaScript one registry and one install command, which made sharing tiny packages normal.

Facts

  1. The first version of npm was released on January 12, 2010. 1
  2. Schlueter's npm 1.0 announcement said dependencies are now nested and dropped the old activation concept. 2
  3. The npm 1.0 post said the focus was on npm as a development tool, rather than an apt-wannabe. 2
  4. Schlueter and Laurie Voss founded npm, Inc. in Oakland, California, in 2014 to maintain the registry; GitHub acquired it in March 2020. 1
  5. In November 2018 a malicious dependency added to event-stream version 3.3.6 carried an encrypted payload that stole bitcoins. 1

Quirks

  • npm is officially a recursive backronym for "npm is not an acronym", though most people read it as Node Package Manager. 1
  • In March 2016 the tiny left-pad package was unpublished over a naming dispute between Azer Koçulu and Kik, breaking thousands of dependent projects until it returned about three hours later. 1

Sources

  1. Wikipedia, npm
  2. Node.js Blog, "npm 1.0: Released", 2011
  3. npm/cli, tag v0.0.1, January 2010
Came from
Led to