# sweet-ping

> Realtime HTTP healthchecker

Latest version **1.0.2** (published 2018-10-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install sweet-ping
pnpm add sweet-ping
yarn add sweet-ping
bun add sweet-ping
```

Provides the command `sping`.

## 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.2 |
| Published | 2018-10-26 |
| First published | 2018-10-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 25.2 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrey Stukalin |
| Maintainers | stukalin |

## Links

- npm: https://www.npmjs.com/package/sweet-ping
- Repository: https://github.com/stukalin/sweet-ping
- npm.io page: https://npm.io/package/sweet-ping

## Dependencies (4)

- [axios](https://npm.io/package/axios.md) ^0.18.0
- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [moment](https://npm.io/package/moment.md) ^2.22.2
- [commander](https://npm.io/package/commander.md) ^2.19.0

## Recent versions

- 1.0.2 (latest) — 2018-10-26
- 1.0.1 — 2018-10-25
- 1.0.0 — 2018-10-25

## README

# sweet-ping

> Boys, Boys, it's a sweet ping...

The tiny handy tool to check the availability of your website. Could be useful to measure how much time it takes to restart the server or whatever.

It sends HTTP requests and expects to get the `200` as a response. If that's not the case, the app tries to calculate the outage time.

## Installation and usage

```
npm i -g sweet-ping
```

and then

```
sping http://facebook.com
```

To stop the process press `Ctrl+C`

## What it can do

If there is an error HTTP status the app sums up the time until it receives the `200` again.

If the request takes longer than average the app will write a warning.

More features are coming

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