README
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
<script type="module">
import browserIsOnline from 'https://cdn.skypack.dev/browser-is-online';
</script>
Check the network connection
const isOnline = require('browser-is-online');
isOnline((err, status) => {
if (err) throw err;
changeText(status);
});
MIT © Vivek Poddar