# express-toobusy

> Express middleware to return 503 if server is too busy right now

Latest version **0.0.3** (published 2015-09-17) · WTFPL license · 0 weekly downloads

## Install

```sh
npm install express-toobusy
pnpm add express-toobusy
yarn add express-toobusy
bun add express-toobusy
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-09-17 |
| First published | 2014-01-10 |
| Weekly downloads | 0 |
| License | WTFPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Oleg Elifantiev |
| Maintainers | olegas |
| Keywords | express, toobusy |

## Links

- npm: https://www.npmjs.com/package/express-toobusy
- Repository: https://github.com/Olegas/express-toobusy
- Homepage: https://github.com/Olegas/express-toobusy#readme
- Issues: https://github.com/Olegas/express-toobusy/issues
- npm.io page: https://npm.io/package/express-toobusy

## Dependencies (1)

- [toobusy-js](https://npm.io/package/toobusy-js.md) ~0.3.0

## Recent versions

- 0.0.3 (latest) — 2015-09-17
- 0.0.2 — 2014-01-10
- 0.0.1 — 2014-01-10

## README

express-toobusy
===============

Keep your Express server responsive even under heavy load!
This trivial middleware uses [toobusy-js](https://npmjs.org/package/toobusy-js) library which is doing all the magic.
Express-toobusy is just a handy wrapper middleware for Express.

Usage
-----

```javascript

    app.use(require('express-toobusy')());

```

If you want to specify your own max lag value, use it like this:

```javascript

    app.use(require('express-toobusy')(40));

```

For details on max lag meaning and default values refer to [toobusy-js](https://npmjs.org/package/toobusy-js) documentation.

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