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

How to Install whatwg-fetch software package in NPM Packages

whatwg-fetch : A window.fetch polyfill.. You can installing whatwg-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 whatwg-fetch
$ sudo npm install -g whatwg-fetch

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

$ sudo npm update whatwg-fetch

Update package globally,

$ npm install -g whatwg-fetch

Git clone:

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

whatwg-fetch@2.0.3 /usr/lib/node_modules/whatwg-fetch

How to remove whatwg-fetch package :

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

$ sudo npm uninstall whatwg-fetch

Basic Information of whatwg-fetch NPM Package:

Package Name whatwg-fetch
Version 2.0.3
Description A window.fetch polyfill.
Released Date 2017-03-02T17:49:55.818Z
Published by mislav
How to Learn https://www.npmjs.com/package/whatwg-fetch/tutorial