is-online : Check if the internet connection is up. You can installing is-online 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 is-online $ sudo npm install -g is-online
If want to update the is-online package execute the command as below,
$ sudo npm update is-online
Update package globally,
$ npm install -g is-online
$ sudo git clone https://github.com/rektide/is-online.git
$ sudo npm install -g ./is-online
is-online@7.0.0 /usr/lib/node_modules/is-online
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-online
Package Name | is-online |
Version | 7.0.0 |
Description | Check if the internet connection is up |
Released Date | 2017-03-13T09:09:41.036Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/is-online/tutorial |