browser-is-online
Check the network connection
Usage
const isOnline = require('browser-is-online');
isOnline((err, status) => {
if (err) throw err;
changeText(status);
});
License
MIT © Vivek Poddar
Check the network connection
Homepage Repository npm JavaScript Download
npm install browser-is-online@1.0.0
Check the network connection
const isOnline = require('browser-is-online');
isOnline((err, status) => {
if (err) throw err;
changeText(status);
});
MIT © Vivek Poddar