# queue-tick

> Next tick shim that prefers process.nextTick over queueMicrotask for compat

Latest version **1.0.1** (published 2022-09-14) · MIT license · 3.8M weekly downloads

## Install

```sh
npm install queue-tick
pnpm add queue-tick
yarn add queue-tick
bun add queue-tick
```

## Health

**Score 53/100 (C)** — status: abandoned.

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

Warnings: no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-09-14 |
| First published | 2021-08-10 |
| Weekly downloads | 3.8M |
| License | MIT |
| TypeScript types | separate (@types/queue-tick) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

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

## Recent versions

- 1.0.1 (latest) — 2022-09-14
- 1.0.0 — 2021-08-10

## README

# queue-tick

Next tick shim that prefers process.nextTick over queueMicrotask for compat

```
npm install queue-tick
```

## Usage

``` js
const queueTick = require('queue-tick')

// in Node it uses process.nextTick, in browsers it uses queueMicrotask
queueTick(() => console.log('laters'))
```

## License

MIT

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