Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yosuke-furukawa/gitnpm

npm wrapper for libraries not published to npm, but uploaded on git
https://github.com/yosuke-furukawa/gitnpm

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

gitnpm
======================

npm wrapper for unpublished npm modules

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

```shell
$ npm install git+ssh://[email protected]:yosuke-furukawa/gitnpm.git#master
```

this is so long....

*`gitnpm`* could make the command shorter.

```shell
$ gitnpm install yosuke-furukawa/gitnpm
// npm install git+ssh://[email protected]:yosuke-furukawa/gitnpm.git#master
```

```shell
$ gitnpm install yosuke-furukawa/gitnpm v0.1.0
// npm install git+ssh://[email protected]:yosuke-furukawa/gitnpm.git#v0.1.0
```

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

```shell
$ gitnpm setup --hostname github.enterprise.com
$ gitnpm install yosuke-furukawa/gitnpm
// npm install git+ssh://[email protected]:yosuke-furukawa/gitnpm.git#master
```

Install
======================

```shell
$ npm install gitnpm -g
```