is-online-cli
v6.0.0
Published
Check if the internet connection is up
Downloads
80
Readme
is-online-cli
Check if the internet connection is up
Install
npm install --global is-online-cli
Usage
$ is-online --help
Usage
$ is-online
Options
--timeout Seconds to wait for a server to respond (Default: 5)
Example
$ is-online
✔ Online
Exit code 0 if online and 1 if offline.
Related
- is-online - API for this package