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.
npm install net-check-win10
Note: Requires Node >= 8.0.0
const checkInternet = require('net-check-win10'); checkInternet().then(val => console.log(val)); // prints 'true' or 'false' depending on networking connectivity