https://github.com/risingstack/nrs
nsr - npm registry switcher
https://github.com/risingstack/nrs
Last synced: 9 months ago
JSON representation
nsr - npm registry switcher
- Host: GitHub
- URL: https://github.com/risingstack/nrs
- Owner: RisingStack
- Created: 2014-05-29T18:46:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-02T06:34:04.000Z (over 11 years ago)
- Last Synced: 2025-04-09T09:04:20.843Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 340 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## DEPRECATED
As of 23th, May (2014) we have per-project `.npmrc` file support, please use that.
## npm registry switcher
Enables switching between the public and private repositories easily.
### Installation
```
npm install -g nrs
```
### Usage
####Shows the current registry being used
```
nrs current
```
#### Listing the added repositories
```
nrs list
```
#### Start using a repository
```
nrs use [alias]
```
#### Adding a repository
```
nrs add [alias] [url]
```
#### Deleting a repository
```
nrs rm [alias]
```
#### Restoring the original config
```
nrs restore
```
### Roadmap
#### v1 (done)
- easy switch between public mirrors
- add/remove new repository functionality
#### v2
- proper handling of private repositories