# checkhost-wrapper

> wrapper for https://check-host.net

Latest version **1.0.0** (published 2022-02-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install checkhost-wrapper
pnpm add checkhost-wrapper
yarn add checkhost-wrapper
bun add checkhost-wrapper
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-02-09 |
| First published | 2022-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 8.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | aydyn#0001 |
| Maintainers | aydynx |
| Keywords | checkhost, check, host, check-host |

## Links

- npm: https://www.npmjs.com/package/checkhost-wrapper
- Repository: https://github.com/aydynx/checkhost-wrapper
- Homepage: https://github.com/aydynx/checkhost-wrapper#readme
- Issues: https://github.com/aydynx/checkhost-wrapper/issues
- npm.io page: https://npm.io/package/checkhost-wrapper

## Dependencies (2)

- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.10
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.7

## Recent versions

- 1.0.0 (latest) — 2022-02-09

## README

# check-host wrapper
A fast, lightweight, wrapper for https://check-host.net

## usage
supports ping, http, tcp, udp, dns, info, and results as check type <br>
info and results only need the first argument
```js
import ch from "./index.js";

//ping, http, tcp, udp, and dns use the same format
const ipInfo = await ch.ping("1.1.1.1",{ //only ip is needed
    max_nodes: 1, //optional
    nodes: ["ca1.node.check-host.net"] //optional
});

console.log(ipInfo);
```

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