Skip to content

Instantly share code, notes, and snippets.

@streunerlein
Created August 12, 2012 14:58
Show Gist options
  • Save streunerlein/3332181 to your computer and use it in GitHub Desktop.
Save streunerlein/3332181 to your computer and use it in GitHub Desktop.
NPM Mirrors & Proxies

Definition

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: https://gist.github.com/3331671

Mirrors

(+) 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

@streunerlein
Copy link
Author

Took my mirror offline, npm working again

@zladuric
Copy link

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