# pingme

> Super simple HTTP server that can be easily pinged so that Nagios et al can know your stuff's healthy.

Latest version **1.0.1** (published 2015-07-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install pingme
pnpm add pingme
yarn add pingme
bun add pingme
```

## 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.1 |
| Published | 2015-07-15 |
| First published | 2014-04-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Isaac Z. Schlueter |
| Maintainers | isaacs, ceejbot |
| Keywords | ping, uptime, server, status, ok |

## Links

- npm: https://www.npmjs.com/package/pingme
- Repository: https://github.com/npm/pingme
- Issues: https://github.com/npm/pingme/issues
- npm.io page: https://npm.io/package/pingme

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-07-15
- 1.0.0 — 2014-04-13

## README

# pingme

Super simple HTTP server that can be easily pinged so that Nagios et
al can know your stuff's healthy.

## USAGE

```javascript
var pm = require('pingme');
pm({
  status: function(cb) {
    // cb(new Error('oh noes!')); if not ok
    cb(null, {
      pid: process.pid,
      whateverRandom: dataYouWantToShow
    })
  },
  ping: function(cb) {
    cb(null); // cb(new Error('oh noes!')) if not ok
  },
  // pass in ssl: { key, cert } to use https instead
  // pass in `server: someServer` to hijack its request handler
  // but be warned that this takes over the /ping and /status urls
}).listen(1337);
```

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