# @warren-bank/node-sleep

> A configurable setTimeout().. nothing more. For use in npm scripts.

Latest version **1.0.0** (published 2018-12-27) · GPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install @warren-bank/node-sleep
pnpm add @warren-bank/node-sleep
yarn add @warren-bank/node-sleep
bun add @warren-bank/node-sleep
```

Provides the command `node-sleep`.

## 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.0 |
| Published | 2018-12-27 |
| First published | 2018-12-27 |
| Weekly downloads | 0 |
| License | GPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Warren Bank |
| Maintainers | warren-bank |
| Keywords | node, npm, sleep, wait, pause, delay, timer, timeout |

## Links

- npm: https://www.npmjs.com/package/@warren-bank/node-sleep
- Repository: https://github.com/warren-bank/node-sleep
- Homepage: https://github.com/warren-bank/node-sleep#readme
- Issues: https://github.com/warren-bank/node-sleep/issues
- npm.io page: https://npm.io/package/@warren-bank/node-sleep

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-12-27

## README

### [node-sleep](https://github.com/warren-bank/node-sleep)

#### Description:

A configurable setTimeout().. nothing more. For use in npm scripts.

#### Installation:

```bash
npm install --save-dev @warren-bank/node-sleep
```

#### Usage:

```bash
node-sleep <integer>  # milliseconds
```

#### Example:

_package.json_

```javascript
{
  "scripts": {
    "bundle:main":  "webpack --config webpack.config.main.js",

    "dev:server": "webpack-dev-server --config webpack.config.renderer.js",
    "dev:client": "electron .",

    "dev:spawn:server": "npm run bundle:main && npm run dev:server",
    "dev:spawn:client": "node-sleep 5000 && npm run dev:client",

    "start": "concurrently --kill-others npm:dev:spawn:*"
  }
}
```

#### Legal:

* copyright: [Warren Bank](https://github.com/warren-bank)
* license: [GPLv2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt)

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