Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kevingimbel/nfg
- Owner: KevinGimbel
- Created: 2017-10-04T16:33:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-04T16:37:15.000Z (over 7 years ago)
- Last Synced: 2024-12-17T14:47:04.190Z (about 1 month ago)
- Topics: cli, nodejs, package-manager, tool
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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. 😬