# npm-cache-exchange

> Exchange npm caches with someone else on the local network

Latest version **1.0.2** (published 2015-06-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install npm-cache-exchange
pnpm add npm-cache-exchange
yarn add npm-cache-exchange
bun add npm-cache-exchange
```

Provides the command `npm-cache-exchange`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-06-13 |
| First published | 2015-06-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/npm-cache-exchange
- Repository: https://github.com/mafintosh/npm-cache-exchange
- Issues: https://github.com/mafintosh/npm-cache-exchange/issues
- npm.io page: https://npm.io/package/npm-cache-exchange

## Dependencies (6)

- [pump](https://npm.io/package/pump.md) ^1.0.0
- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [airpaste](https://npm.io/package/airpaste.md) ^1.0.9
- [multiplex](https://npm.io/package/multiplex.md) ^6.2.1
- [user-home](https://npm.io/package/user-home.md) ^1.1.1
- [parallel-transform](https://npm.io/package/parallel-transform.md) ^0.2.2

## Recent versions

- 1.0.2 (latest) — 2015-06-13
- 1.0.1 — 2015-06-11
- 1.0.0 — 2015-06-11

## README

# npm-cache-exchange

Exchange npm caches with someone else on the local network

```
npm install -g npm-cache-exchange
```

## Usage

On one computer run

``` sh
computer-1> npm-cache-exchange
```

And on another one run the same


``` sh
computer-2> npm-cache-exchange
```

These two computers will now exchange
their npm cache.

You can force npm to only use the cache by setting the `--cache-min 999999999` argument.
which allows you to use npm offline

``` sh
npm --cache-min 99999999 install a-module # works offline
```

## License

MIT

---
_Source: https://npm.io/package/npm-cache-exchange · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
