@kd-kfront/knpm
Version:
knpm: npm client for knpm
48 lines (31 loc) • 875 B
Markdown
@kd-kfront/knpm
=======
@kd-kfront/knpm: npm client for @kd-kfront/knpm
## Requirements
| | Minimum | Recommended |
|--------|---------|-------------|
| NodeJS | 4.0.0 | stable |
## Install
```bash
$ npm install @kd-kfront/knpm -g
```
If you're in Kedacom, maybe you should install it from our [Keda mirror](http://knpm.kedacom.com):
```bash
$ npm install @kd-kfront/knpm -g --registry=http://knpm.kedacom.com
```
## Usage
Support all commands just like `npm`.
### Sync packages from `npm`
```bash
$ knpm sync [moduleName]
```
## Build your own private registry npm cli
```bash
$ npm install @kd-kfront/knpm -g
# then alias it
$ alias mynpm='knpm --registry=http://registry.npm.example.com \
--registryweb=http://npm.example.com \
--userconfig=$HOME/.mynpmrc'
```
## License
[MIT](LICENSE.txt)