How to Install intersection-observer NPM Packages on Ubuntu / Debian

How to Install intersection-observer software package in NPM Packages

intersection-observer : A polyfill for IntersectionObserver. You can installing intersection-observer 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 intersection-observer
$ sudo npm install -g intersection-observer

If want to update the intersection-observer package execute the command as below,

$ sudo npm update intersection-observer

Update package globally,

$ npm install -g intersection-observer

Git clone:

$ sudo  git clone https://github.com/rektide/intersection-observer.git
$ sudo  npm install -g ./intersection-observer

intersection-observer@0.4.3 /usr/lib/node_modules/intersection-observer

How to remove intersection-observer package :

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

$ sudo npm uninstall intersection-observer

Basic Information of intersection-observer NPM Package:

Package Name intersection-observer
Version 0.4.3
Description A polyfill for IntersectionObserver
Released Date 2017-11-10T20:32:19.571Z
Published by philipwalton
How to Learn https://www.npmjs.com/package/intersection-observer/tutorial