Skip to content

npm wrapper for libraries not published to npm, but uploaded on git

Notifications You must be signed in to change notification settings

yosuke-furukawa/gitnpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitnpm

npm wrapper for unpublished npm modules

npm could install library from some git repositories. but npm user should set the library like this.

$ npm install git+ssh://git@github.com:yosuke-furukawa/gitnpm.git#master

this is so long....

gitnpm could make the command shorter.

$ gitnpm install yosuke-furukawa/gitnpm
// npm install git+ssh://git@github.com:yosuke-furukawa/gitnpm.git#master
$ gitnpm install yosuke-furukawa/gitnpm v0.1.0
// npm install git+ssh://git@github.com:yosuke-furukawa/gitnpm.git#v0.1.0

If you have github enterprise, you can set the path using setup command

$ gitnpm setup --hostname github.enterprise.com
$ gitnpm install yosuke-furukawa/gitnpm
// npm install git+ssh://git@github.enterprise.com:yosuke-furukawa/gitnpm.git#master

Install

$ npm install gitnpm -g

About

npm wrapper for libraries not published to npm, but uploaded on git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published