Sha256: 9c9b29a02dd341ed2ac9f65ea5d7fc4f67fe23393a4ed5d5a4c210ad9f7636ff

Contents?: true

Size: 769 Bytes

Versions: 74

Compression:

Stored size: 769 Bytes

Contents

# next-tick
## Environment agnostic nextTick polyfill

To be used in environment agnostic modules that need nextTick functionality.

- When run in Node.js `process.nextTick` is used
- In modern browsers microtask resolution is guaranteed by `MutationObserver`
- In other engines `setImmediate` or `setTimeout(fn, 0)` is used as fallback.
- If none of the above is supported module resolves to `null`

## Installation
### NPM

In your project path:

	$ npm install next-tick

#### Browser

You can easily bundle `next-tick` for browser with any CJS bundler, e.g. [modules-webmake](https://github.com/medikoo/modules-webmake)

## Tests [![Build Status](https://api.travis-ci.org/medikoo/next-tick.png?branch=master)](https://travis-ci.org/medikoo/next-tick)

	$ npm test

Version data entries

74 entries across 53 versions & 3 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/next-tick/README.md
govuk_publishing_components-18.0.0 node_modules/next-tick/README.md
govuk_publishing_components-17.21.0 node_modules/next-tick/README.md
govuk_publishing_components-17.20.0 node_modules/next-tick/README.md
govuk_publishing_components-17.19.1 node_modules/next-tick/README.md
govuk_publishing_components-17.19.0 node_modules/next-tick/README.md
govuk_publishing_components-17.18.0 node_modules/next-tick/README.md
govuk_publishing_components-17.17.0 node_modules/next-tick/README.md
govuk_publishing_components-17.16.0 node_modules/next-tick/README.md
govuk_publishing_components-17.15.0 node_modules/next-tick/README.md
govuk_publishing_components-17.14.0 node_modules/next-tick/README.md
govuk_publishing_components-17.13.0 node_modules/next-tick/README.md
govuk_publishing_components-17.12.2 node_modules/next-tick/README.md
govuk_publishing_components-17.12.1 node_modules/next-tick/README.md
govuk_publishing_components-17.12.0 node_modules/next-tick/README.md
govuk_publishing_components-17.11.0 node_modules/next-tick/README.md
govuk_publishing_components-17.10.0 node_modules/next-tick/README.md
govuk_publishing_components-17.9.0 node_modules/next-tick/README.md
govuk_publishing_components-17.8.0 node_modules/next-tick/README.md
govuk_publishing_components-17.7.0 node_modules/next-tick/README.md