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
$ 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
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall intersection-observer
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 |