net-check-win10
v0.3.1
Published
Native network access check for Windows 10. You don't need to make any Ajax request in Windows 10 to check for network access. Returns true if connected to network else return false
Downloads
2
Maintainers
Readme
net-check-win10
A Node.js Module to check network connectivity or not using Native network access check for Windows 10. You don't need to make any Ajax request in Windows 10 to check for network access. Returns promise resolves to true with network access and to false without network access.
Install Module
npm install net-check-win10
Note: Requires Node >= 8.0.0
Usage
const checkInternet = require('net-check-win10');
checkInternet().then(val => console.log(val));
// prints 'true' or 'false' depending on networking connectivity