Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kevingimbel/nfg

💻 Install Node Packages from GitHub with npm
https://github.com/kevingimbel/nfg

cli nodejs package-manager tool

Last synced: 5 days ago
JSON representation

💻 Install Node Packages from GitHub with npm

Awesome Lists containing this project

README

        

# `nfg`
> Install Node modules from GitHub using `npm` under the hood.

[![Build Status](https://travis-ci.org/kevingimbel/nfg.svg?branch=master)](https://travis-ci.org/kevingimbel/nfg)

`nfg` (_node from git_) is a wrapper around the npm package manager to install node packages from GitHub.com

## Install

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

```sh
$ 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

```sh
$ 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://[email protected]/user/repo` when installing from private repositories. 😬