# @ankittiwaari/connection-monitor

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

Latest version **1.0.5** (published 2020-10-14) · GPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install @ankittiwaari/connection-monitor
pnpm add @ankittiwaari/connection-monitor
yarn add @ankittiwaari/connection-monitor
bun add @ankittiwaari/connection-monitor
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2020-10-14 |
| First published | 2020-10-14 |
| Weekly downloads | 0 |
| License | GPL-3.0-or-later |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 44.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ankit Tiwari |
| Maintainers | ankittiwaari |
| Keywords | connection-monitor, monitor, wifi, monitor, network |

## Links

- npm: https://www.npmjs.com/package/@ankittiwaari/connection-monitor
- Repository: https://github.com/ankittiwaari/connection-monitor
- Homepage: https://github.com/ankittiwaari/connection-monitor#readme
- Issues: https://github.com/ankittiwaari/connection-monitor/issues
- npm.io page: https://npm.io/package/@ankittiwaari/connection-monitor

## Dependencies (1)

- [node-notifier](https://npm.io/package/node-notifier.md) ^8.0.0

## Recent versions

- 1.0.5 (latest) — 2020-10-14
- 1.0.4 — 2020-10-14
- 1.0.3 — 2020-10-14
- 1.0.2 — 2020-10-14
- 1.0.1 — 2020-10-14
- 1.0.0 — 2020-10-14

## README

# 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
```node 
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);

---
_Source: https://npm.io/package/@ankittiwaari/connection-monitor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
