1.0.4 • Published 6 years ago

do-i-have-internet v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

do-i-have-internet

Simple npm based cli for knowing when the internet goes up or down.

Useful for diagnosing network cuts or instability in a simple way.

npm install -g do-i-have-internet

It uses exponential back off until ~30 seconds using the fib sequence when we are online. When offline, it backs to try every second.

Example

# Starting with the internet off, and turning it on and off
$ do-i-have-internet # or doihaveinternet
DOWN 8/18/2015 12:57:52 PM
UP 8/18/2015 12:58:02 PM
DOWN 8/18/2015 12:58:12 PM
UP 8/18/2015 12:58:18 PM
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago