# nanotick

> Process.nextTick() batching utility

Latest version **1.1.6** (published 2017-03-03) · MIT license · 0 weekly downloads

## Install

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

## 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.1.6 |
| Published | 2017-03-03 |
| First published | 2016-12-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 38 |
| Maintainers | yoshuawuyts |
| Keywords | batch, process, next-tick, settimeout, timer |

## Links

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

## Recent versions

- 1.1.6 (latest) — 2017-03-03
- 1.1.5 — 2017-01-20
- 1.1.4 — 2016-12-14
- 1.1.3 — 2016-12-13
- 1.1.2 — 2016-12-12
- 1.1.1 — 2016-12-12
- 1.1.0 — 2016-12-12
- 1.0.3 — 2016-12-12
- 1.0.2 — 2016-12-12
- 1.0.1 — 2016-12-12
- 1.0.0 — 2016-12-12

## README

# nanotick [![stability][0]][1]
[![npm version][2]][3] [![build status][4]][5] [![test coverage][6]][7]
[![downloads][8]][9] [![js-standard-style][10]][11]

Process.nextTick() batching utility.

## Usage
```js
var nanotick = require('nanotick')

var tick = nanotick()

var myFunc = tick(function () {
  // do sync thing
})

// now resolves async
myFunc()
```

## API
### tick = nanotick
Create a new nanotick instance

### tick(cb)
Always resolve a function asynchronously. Uses batching under the hood to
optimize performance

## Installation
```sh
$ npm install nanotick
```

## See Also
- [yoshuawuyts/nanoraf](https://github.com/yoshuawuyts/nanoraf)
- [yoshuawuyts/nanomorph](https://github.com/yoshuawuyts/nanomorph)

## License
[MIT](https://tldrlegal.com/license/mit-license)

[0]: https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square
[1]: https://nodejs.org/api/documentation.html#documentation_stability_index
[2]: https://img.shields.io/npm/v/nanotick.svg?style=flat-square
[3]: https://npmjs.org/package/nanotick
[4]: https://img.shields.io/travis/yoshuawuyts/nanotick/master.svg?style=flat-square
[5]: https://travis-ci.org/yoshuawuyts/nanotick
[6]: https://img.shields.io/codecov/c/github/yoshuawuyts/nanotick/master.svg?style=flat-square
[7]: https://codecov.io/github/yoshuawuyts/nanotick
[8]: http://img.shields.io/npm/dm/nanotick.svg?style=flat-square
[9]: https://npmjs.org/package/nanotick
[10]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[11]: https://github.com/feross/standard

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