Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pnpm

Package Overview
Dependencies
Maintainers
2
Versions
1075
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pnpm - npm Package Compare versions

Comparing version 0.0.1 to 0.16.0

bin/node-gyp-bin/node_gyp.cmd

91

package.json
{
"name": "pnpm",
"version": "0.0.1",
"description": "pnpm ====",
"main": "./lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"description": "A fast implementation of npm install",
"version": "0.16.0",
"author": "Rico Sta. Cruz <rico@ricostacruz.com>",
"bin": {
"pnpm": "bin/pnpm",
"pnpm-install": "bin/pnpm-install"
},
"bugs": {
"url": "https://github.com/rstacruz/pnpm/issues"
},
"files": [
"lib",
"bin"
],
"dependencies": {
"bluebird": "3.2.1",
"byline": "4.2.1",
"chalk": "1.1.1",
"commondir": "1.0.1",
"debug": "2.2.0",
"got": "5.4.1",
"gunzip-maybe": "1.3.1",
"meow": "3.7.0",
"mkdirp": "0.5.1",
"mz": "2.3.0",
"node-gyp": "3.2.1",
"node-uuid": "1.4.7",
"npm-package-arg": "4.1.0",
"object-assign": "4.0.1",
"observatory": "1.0.0",
"rc": "1.1.6",
"read-pkg-up": "1.0.1",
"registry-url": "3.0.3",
"rimraf": "2.5.1",
"semver": "5.1.0",
"supports-color": "^3.1.2",
"tar-fs": "1.9.0",
"thenify": "3.1.1",
"throat": "2.0.2"
},
"devDependencies": {
"babel-cli": "6.4.5",
"babel-plugin-transform-es2015-arrow-functions": "6.3.13",
"babel-plugin-transform-es2015-literals": "6.3.13",
"docpress": "0.6.10",
"eslint": "1.10.3",
"eslint-config-standard": "4.4.0",
"eslint-plugin-standard": "1.3.1",
"git-update-ghpages": "1.3.0",
"in-publish": "2.0.0",
"nixt": "0.5.0",
"npm": "3.6.0",
"sepia": "2.0.1",
"tap-spec": "4.1.1",
"tape": "4.4.0",
"tape-eslint": "1.2.1"
},
"directories": {
"test": "test"
},
"homepage": "https://github.com/rstacruz/pnpm#readme",
"keywords": [
"install",
"npm"
],
"license": "MIT",
"main": "index.js",
"preferGlobal": true,
"repository": {
"type": "git",
"url": "https://github.com/classdojo/pnpm.git"
"url": "git+https://github.com/rstacruz/pnpm.git"
},
"author": "",
"license": "BSD",
"readmeFilename": "README.md",
"gitHead": "7e9b4f5d66eecc2f0ee1940ebfe9dca6658f14ed"
"scripts": {
"build": "if [ ! -d lib~ ]; then mv lib lib~; babel --source-maps inline -D lib~ -d lib; fi",
"test": "node test | tap-spec",
"test:babel": "babel-node test | tap-spec",
"prepublish": "if in-publish; then npm run build; fi",
"postpublish": "rm -rf lib; mv lib~ lib"
},
"babel": {
"plugins": [
"transform-es2015-arrow-functions",
"transform-es2015-literals"
]
}
}

@@ -1,4 +0,93 @@

pnpm
====
# pnpm
private npm repository
<!-- {.massive-header.-with-tagline} -->
> Performant npm installations
pnpm is a fast implementation of `npm install`. It is loosely based off [ied].
![](docs/images/screencast.gif)
[![npm version](https://badge.fury.io/js/pnpm.svg)](https://badge.fury.io/js/pnpm)
[![Status](https://travis-ci.org/rstacruz/pnpm.svg?branch=master)](https://travis-ci.org/rstacruz/pnpm "See test builds")
----
> #### ⚠ Name change
> The npm package was changed from `pnpm.js` (0.15 and below) to `pnpm`. The old package will no longer be updated. For old users, uninstall the old version and install the new one:
>
> npm uninstall -g pnpm.js
> npm install -g pnpm
----
## Install
Install it via npm.
```
npm install -g pnpm
```
Use `pnpm` in place of `npm`. It overrides `pnpm i` and `pnpm install`—all other commands will passthru to `npm`.
```
pnpm install lodash
```
## Custom registries
pnpm uses whatever npm's configured to use as its registry. See: [custom registries](docs/custom-registries.md).
## Preview release
`pnpm` will stay in `<1.0.0` until it's achieved feature parity with `npm install`. See [roadmap](docs/roadmap.md) for details.
## Benchmark
```
time npm i babel-preset-es2015 browserify chalk debug minimist mkdirp
66.15 real 15.60 user 3.54 sys
```
```
time pnpm i babel-preset-es2015 browserify chalk debug minimist mkdirp
11.04 real 6.85 user 2.85 sys
```
## Design
`pnpm` maintains a flat storage of all your dependencies in `node_modules/.store`. They are then symlinked whereever they're needed.
See [store layout](docs/store-layout.md) for an explanation.
```
.
└─ node_modules/
├─ .store/
│ ├─ chalk@1.1.1/_/
│ │ └─ node_modules/
│ │ ├─ ansi-styles -> ../../../ansi-styles@2.1.0/_
│ │ └─ has-ansi -> ../../../has-ansi@2.0.0/_
│ ├─ ansi-styles@2.1.0/_/
│ └─ has-ansi@2.0.0/_/
└─ chalk -> .store/chalk@1.1.1/_
```
## Prior art
* [Compared to ied](docs/vs-ied.md)
* [Compared to npm](docs/vs-npm.md)
## Thanks
**pnpm** © 2016+, Rico Sta. Cruz. Released under the [MIT] License.<br>
Authored and maintained by Rico Sta. Cruz with help from contributors ([list][contributors]).
> [ricostacruz.com](http://ricostacruz.com) &nbsp;&middot;&nbsp;
> GitHub [@rstacruz](https://github.com/rstacruz) &nbsp;&middot;&nbsp;
> Twitter [@rstacruz](https://twitter.com/rstacruz)
[MIT]: http://mit-license.org/
[contributors]: http://github.com/rstacruz/pnpm/contributors
[ied]: https://github.com/alexanderGugel/ied
makefile
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc