# long-timeout

> Long timeout makes it possible to have a timeout or interval that is longer than 24.8 days (2^31-1 milliseconds).

Latest version **0.1.1** (published 2016-02-24) · MIT license · 3.9M weekly downloads

## Install

```sh
npm install long-timeout
pnpm add long-timeout
yarn add long-timeout
bun add long-timeout
```

## Health

**Score 43/100 (D)** — status: abandoned.

Positive: high downloads; has types package; no vulnerabilities; high quality score.

Warnings: no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2016-02-24 |
| First published | 2012-08-12 |
| Weekly downloads | 3.9M |
| License | MIT |
| TypeScript types | separate (@types/long-timeout) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 73 |
| Author | Christian Tellnes |
| Maintainers | tellnes |

## Links

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

## Recent versions

- 0.1.1 (latest) — 2016-02-24
- 0.1.0 — 2016-02-09
- 0.0.2 — 2015-03-18
- 0.0.1 — 2012-08-12

## README

# Long timeouts

Long timeout makes it possible to have a timeout or interval that is longer than 24.8 days (2^31-1 milliseconds).


## Usage

```js
var lt = require('long-timeout')

var timeout = lt.setTimeout(function() {
  console.log('in 30 days')
}, 1000 * 60 * 60 * 24 * 30)

var interval = lt.setInterval(function() {
  console.log('every 30 days')
}, 1000 * 60 * 60 * 24 * 30)


// Clear them
lt.clearTimeout(timeout)
lt.clearInterval(interval)
```

## Install

    npm install long-timeout


## Licence

MIT

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