How to Install node-fetch NPM Packages on Ubuntu / Debian

How to Install node-fetch software package in NPM Packages

node-fetch : A light-weight module that brings window.fetch to node.js and io.js. You can installing node-fetch npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install node-fetch
$ sudo npm install -g node-fetch

If want to update the node-fetch package execute the command as below,

$ sudo npm update node-fetch

Update package globally,

$ npm install -g node-fetch

Git clone:

$ sudo  git clone https://github.com/rektide/node-fetch.git
$ sudo  npm install -g ./node-fetch

node-fetch@1.7.3 /usr/lib/node_modules/node-fetch

How to remove node-fetch package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall node-fetch

Basic Information of node-fetch NPM Package:

Package Name node-fetch
Version 1.7.3
Description A light-weight module that brings window.fetch to node.js and io.js
Released Date 2017-09-08T06:28:18.255Z
Published by bitinn
How to Learn https://www.npmjs.com/package/node-fetch/tutorial