0.0.5 • Published 10 years ago

registry-switch v0.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
10 years ago

#registry-switch

Utility to make it easy to switch between npm registries.

##Install

npm install registry-switch -g

##Usage Run the programm with

registry-switch {command} {args}

-- or short version --

regsw {command} {args}

Accepted commands:

CommandDescription
listDisplay a list of avaliable registries
addAdd a new registry
use A a registry
removeRemoves a registry

###list Provides a listing of the registries you have in your .npmregs folder.

registry-switch list

###add Adds a new registry to you .npmregs folder. You can use the optional --name switch to specify a name for the registry e.g. npm-public. The default name will be derived from the url.

registry-switch add [--name reg-name] url

###use Uses a registry in your .npmregs folder by crreating a sym link from $HOME/.npmrc to the appropriate file in .npmregs. Name should be the name of a file that exists in ~/.npmregs

registry-switch use name

###remove Deletes a registry file from your .npmregs folder

registry-switch remove name
0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.1

10 years ago