Create a gist now

Instantly share code, notes, and snippets.

NPM Mirrors & Proxies


Mirrors: standalone servers with complete copy of npm registry

Proxies: proxy to the database (couchdb) of npm registry, if only the npm registry server fails but the db works

## HowTo See this gist:


(+) means server is self updating (pulls newest stuff from offical registry when back online again) -- Compared to mirrors with only snapshots that can contain older versions of modules

### Proxies Proxies are/should be self-updating per definition.

### DIY


Took my mirror offline, npm working again


Can you share a few details on what it takes to setup npm mirror?
couchdb, as it seems, and what else? How much space, bandwidth and other resources do you have to dedicate to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment