npm.io
1.0.0 • Published 9 years agoCLI

nfg

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0
Stars
1

nfg

node from git

Install Node modules from GitHub using npm under the hood.

Install

Install with npm by executing the following command inside a terminal:

$ npm i -g nfg

Usage

Afterwards installation is completed can use nfg to install node modules from GitHub.com by specifiying the source as username/repo, for example

$ nfg -g kevingimbel/leetscript-cli
$ nfg lynzt/fs_readfile

The last argument is always the repository. All options like -g are passed to npm directly.

Why?

I'm a lazy person and I don't like to type npm install ssh+git://git@github.com/user/repo when installing from private repositories.

Keywords