net-check-win10

0.3.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i net-check-win10

Weekly Downloads

0

Version

0.3.1

License

MIT

Unpacked Size

3.47 kB

Total Files

4

Last publish

Collaborators

  • syed_umair