Software:Pnpm

From HandWiki
pnpm
File:Pnpm logo.svg
Developer(s)Zoltan Kochan and other contributors
Initial release28 June 2017; 9 years ago (2017-06-28)
Written inTypeScript, JavaScript
PlatformCross-platform
TypePackage manager
LicenseMIT License
Website{{{1}}}

pnpm (short for Performant npm)[1] is one of the main JavaScript package managers,[2] originally developed in 2016 by Rico Sta. Cruz for the Node.js JavaScript runtime environment.[3][non-primary source needed] It focuses on being a disk space-efficient alternative to npm.[4][5]

History

The first commit to the pnpm repository was made on 27 January 2016, the same year as Yarn. The pnpm project was inspired by Alexander Gugel’s ied – an early experiment that used symbolic links to organise node_modules. The first stable release (v1.0.0) arrived on 28 June 2017. Over the following years, pnpm gained traction for its novel approach to dependency hoisting and its ability to handle large monorepos efficiently.[6]

Technical design

pnpm's core innovation is its use of a global content-addressable store to manage dependencies. Instead of copying files into each project's node_modules folder, it stores a single copy of each package version in a central location (e.g., ~/.pnpm-store) and creates hard links from the project to these files. Symbolic links are then used to construct the dependency tree within the project.[7]

See also

References

  • No URL found. Please specify a URL here or add one to Wikidata.
  • on GitHub