react-visibility-sensor : Sensor component for React that notifies you when it goes in or out of the window viewport.. You can installing react-visibility-sensor 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 react-visibility-sensor $ sudo npm install -g react-visibility-sensor
If want to update the react-visibility-sensor package execute the command as below,
$ sudo npm update react-visibility-sensor
Update package globally,
$ npm install -g react-visibility-sensor
$ sudo git clone https://github.com/rektide/react-visibility-sensor.git
$ sudo npm install -g ./react-visibility-sensor
react-visibility-sensor@3.11.0 /usr/lib/node_modules/react-visibility-sensor
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall react-visibility-sensor
| Package Name | react-visibility-sensor |
| Version | 3.11.0 |
| Description | Sensor component for React that notifies you when it goes in or out of the window viewport. |
| Released Date | 2017-10-04T00:20:47.587Z |
| Published by | joshwnj |
| How to Learn | https://www.npmjs.com/package/react-visibility-sensor/tutorial |