0.3.1 • Published 3 years ago

net-check-win10 v0.3.1

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

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