npmfill
v0.1.0
Published
Extend the installation systax of the npm
Downloads
3
Readme
npmfill
Extend the installation systax of the npm.
Usage
Firstly, install npmfill
:
npm i npmfill -g
Then, configure the git source in the .npmrc
file (project or user):
[npmfill]
my = git+ssh://[email protected]:{user}{repositry}.git{version}
Lastly, run the nf
command to install some package:
nf install my:alex/[email protected]
nf install my:alex/hello-world
nf i my:alex/hello-world
nf i my:alex/hello-world --save
Actually, all the work of the npmfill is to transform the specified package syntax to an git url. If it can be transformed, the command line arguments are passed to npm intact.
License
MIT