Updated Readme

This commit is contained in:
2016-05-04 10:31:01 +05:30
parent 4770262171
commit 45e7877069
+4 -2
View File
@@ -14,8 +14,10 @@ Supper simple NPM registry server for offline NPM install
* Now the server will run on [http://localhost:8234](http://localhost:8234) * Now the server will run on [http://localhost:8234](http://localhost:8234)
* use `http://localhost:8234/` as registry while doing npm install * use `http://localhost:8234/` as registry while doing npm install
- Either use `npm install --registry http://localhost:8234/ [package-name]...` - use command `npm-offline-install` instead of `npm install` if you need to install packages offline. This is just a wrapper cli which will run `npm i` with `--registry` option set
- Or permanently set config variable `npm config set registry http://localhost:8234/` - Advanced usage
* Either use `npm install --registry http://localhost:8234/ [package-name]...`
* Or permanently set config variable `npm config set registry http://localhost:8234/`
**NOTE:** *default port can be changed by setting `PORT` environment variable * **NOTE:** *default port can be changed by setting `PORT` environment variable *