A utility to copy packages from one NPM server to another.
We wrote this while migrating from Nodejitsu's (deprecated) private NPM service to our own deployment of Sinopia. For the list of modules you provide, it will find all of the published versions on the
from repository, and publish them on the
to repository. It's that easy. It's also idempotent and prints a warning if a particular version already exists on the
The example should explain things. We accept either token auth or username/password auth.
npm install -g npm-copynpm-copy --from --from-token foo --to --to-username bob --to-password secret mycorp-logger mycorp-stats
Please follow our Code of Conduct when contributing to this project.
$ git clone && cd npm-copy$ npm install$ npm test
Module scaffold generated by generator-goodeggs-npm.