getonline
listen to internet connection status
Install
npm i -D getonline
Usage
var Online=;const internet=timeout:3000 // default to 3s internet internet
API
getonline([options])
options
Type: Object
timeout
Type: number
Default: 5000
Milliseconds interval to check status again.
License
MIT © abdelhak akermi