0.0.11 • Published 2 years ago
@kd-kfront/knpm v0.0.11
kfront-npm
kfront-npm: npm client for kfront-npm
Requirements
Minimum | Recommended | |
---|---|---|
NodeJS | 4.0.0 | stable |
Install
$ npm install kfront-npm -g
If you're in Kedacom, maybe you should install it from our Keda mirror:
$ npm install kfront-npm -g --registry=http://knpm.kedacom.com
Usage
Support all commands just like npm
.
Sync packages from npm
$ knpm sync [moduleName]
Build your own private registry npm cli
$ npm install kfront-npm -g
# then alias it
$ alias mynpm='knpm --registry=http://registry.npm.example.com \
--registryweb=http://npm.example.com \
--userconfig=$HOME/.mynpmrc'