# snoozely

> A sleep module for nodejs

Latest version **0.0.2** (published 2021-12-31) · ISC license · 0 weekly downloads

## Install

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

## Health

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

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

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-12-31 |
| First published | 2021-12-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Oluwafemi Oso |
| Maintainers | osofem |
| Keywords | sleep, snooze, nodejs, snoozely |

## Links

- npm: https://www.npmjs.com/package/snoozely
- Repository: https://github.com/osofem/snoozely
- Homepage: https://github.com/osofem/snoozely#readme
- Issues: https://github.com/osofem/snoozely/issues
- npm.io page: https://npm.io/package/snoozely

## Recent versions

- 0.0.2 (latest) — 2021-12-31
- 0.0.1 — 2021-12-31

## README

## Snoozely

A `sleep` function for nodejs!

### Usage

For asynchronous function

```javascript
console.log("Dozing off, Zzzzz");
await require("snoozely").snoozely(10000); //sleep for 10sec
console.log("Awake now!");
```

For synchronous function

```javascript
console.log("Dozing off, Zzzzz");
//sleep for 10sec
require("snoozely").snoozelySync(10000, ()=>{
    console.log("Awake now!");
});
```

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