npmfill

0.1.0 • Public • Published

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://myusername@git.mydomain.com:{user}{repositry}.git{version}

Lastly, run the nf command to install some package:

nf install my:alex/hello-world@0.4.2
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

/npmfill/

    Package Sidebar

    Install

    npm i npmfill

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • alexchao