Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.
/ npmfill Public archive

Extend the installation systax of the npm

License

Notifications You must be signed in to change notification settings

Alex1990/npmfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Todos

  • Add tests
  • Improve the document
  • Support multiple packages
  • Exit code, stdout and stderr

License

MIT

About

Extend the installation systax of the npm

Resources

License

Stars

Watchers

Forks

Packages

No packages published