Skip to content

Latest commit

 

History

History
executable file
·
17 lines (13 loc) · 629 Bytes

README.md

File metadata and controls

executable file
·
17 lines (13 loc) · 629 Bytes

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