1.0.5 • Published 2 years ago

@ankittiwaari/connection-monitor v1.0.5

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

Connection monitor

A simple tool to monitor your network connectivity. It will show an alert when your network transitions from connected and diconnected state

Usage

const cm = require("@ankittiwaari/connection-monitor")

let config = {
    pingUrl: "<a-suitable-network.url>", //url to ping
    pingInterval: 10000 //the interval in which ping must be sent
}

cm.monitorNetwork(config);
1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago