All Projects → pnpm → Pnpm

pnpm / Pnpm

Licence: mit
Fast, disk space efficient package manager -- 快速的,节省磁盘空间的包管理工具

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Pnpm

Greenkeeper
🤖 🌴 Real-time automated dependency updates for npm and GitHub
Stars: ✭ 1,564 (-89%)
Mutual labels:  npm, dependency-manager
Mint
A package manager that installs and runs executable Swift packages
Stars: ✭ 1,750 (-87.69%)
Mutual labels:  package-manager, dependency-manager
Composer
Dependency Manager for PHP
Stars: ✭ 25,994 (+82.81%)
Mutual labels:  package-manager, dependency-manager
Renovate
Universal dependency update tool that fits into your workflows.
Stars: ✭ 6,700 (-52.88%)
Mutual labels:  npm, dependency-manager
Lmify
Install NPM dependencies programmatically 🤙
Stars: ✭ 98 (-99.31%)
Mutual labels:  install, npm
Cpm.cmake
📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
Stars: ✭ 560 (-96.06%)
Mutual labels:  package-manager, dependency-manager
Postcss Import
PostCSS plugin to inline @import rules content
Stars: ✭ 1,048 (-92.63%)
Mutual labels:  modules, npm
Cli
the package manager for JavaScript
Stars: ✭ 5,277 (-62.89%)
Mutual labels:  npm, package-manager
Have It
The fastest NPM install does nothing because you already have it
Stars: ✭ 75 (-99.47%)
Mutual labels:  install, npm
Cmake Get
Get dependencies with cmake
Stars: ✭ 59 (-99.59%)
Mutual labels:  package-manager, dependency-manager
Patch Package
Fix broken node modules instantly 🏃🏽‍♀️💨
Stars: ✭ 6,062 (-57.37%)
Mutual labels:  package-manager, dependency-manager
Npackd
Package manager for Microsoft Windows: Wiki, bug tracker, mirror of the default repositories
Stars: ✭ 118 (-99.17%)
Mutual labels:  install, package-manager
Npq
🎖safely* install packages with npm or yarn by auditing them as part of your install process
Stars: ✭ 513 (-96.39%)
Mutual labels:  npm, package-manager
Projeny
A project and package manager for Unity
Stars: ✭ 656 (-95.39%)
Mutual labels:  package-manager, dependency-manager
Bower Material
This repository is used for publishing the AngularJS Material v1.x library
Stars: ✭ 510 (-96.41%)
Mutual labels:  modules, npm
Peru
a generic package manager, for including other people's code in your projects
Stars: ✭ 913 (-93.58%)
Mutual labels:  package-manager, dependency-manager
Rfcs
Public change requests/proposals & ideation
Stars: ✭ 428 (-96.99%)
Mutual labels:  npm, package-manager
Trex
Package Manager for deno 🦕
Stars: ✭ 433 (-96.95%)
Mutual labels:  modules, package-manager
Npm Git Install
Clones and (re)installs packages from remote git repos. See npm/npm#3055
Stars: ✭ 49 (-99.66%)
Mutual labels:  npm, package-manager
Awesome Awesome Nodejs
🐢🚀 An Awesome list of Awesome lists related to Node.js.
Stars: ✭ 1,389 (-90.23%)
Mutual labels:  modules, npm

中文 | 日本語 | Italiano | Русский | Türkçe

Fast, disk space efficient package manager:

  • Fast. Up to 2x faster than the alternatives (see benchmark).
  • Efficient. Files inside node_modules are linked from a single content-addressable storage.
  • Great for monorepos.
  • Strict. A package can access only dependencies that are specified in its package.json.
  • Deterministic. Has a lockfile called pnpm-lock.yaml.
  • Works as a Node.js version manager. See pnpm env use.
  • Works everywhere. Supports Windows, Linux, and macOS.
  • Battle-tested. Used in production by teams of all sizes since 2016.

To quote the Rush team:

Microsoft uses pnpm in Rush repos with hundreds of projects and hundreds of PRs per day, and we’ve found it to be very fast and reliable.

npm version Join the chat at Discord OpenCollective OpenCollective Twitter Follow

Sponsors

Support this project by becoming a sponsor.

Background

pnpm uses a content-addressable filesystem to store all files from all module directories on a disk. When using npm or Yarn, if you have 100 projects using lodash, you will have 100 copies of lodash on disk. With pnpm, lodash will be stored in a content-addressable storage, so:

  1. If you depend on different versions of lodash, only the files that differ are added to the store. If lodash has 100 files, and a new version has a change only in one of those files, pnpm update will only add 1 new file to the storage.
  2. All the files are saved in a single place on the disk. When packages are installed, their files are linked from that single place consuming no additional disk space. Linking is performed using either hard-links or reflinks (copy-on-write).

As a result, you save gigabytes of space on your disk and you have a lot faster installations! If you'd like more details about the unique node_modules structure that pnpm creates and why it works fine with the Node.js ecosystem, read this small article: Flat node_modules is not the only way.

💖 Like this project? Let people know with a tweet

Getting Started

Benchmark

pnpm is up to 2x faster than npm and Yarn classic. See all benchmarks here.

Benchmarks on an app with lots of dependencies:

Backers

Thank you to all our backers! Become a backer

Contributors

This project exists thanks to all the people who contribute. Contribute.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].