next-tick 1.0.0

Environment agnostic nextTick polyfill

Homepage: https://github.com/medikoo/next-tick

Platform: npm

Language: JavaScript

License: MIT

Keywords: nexttick, setImmediate, setTimeout, async

View on registry: https://www.npmjs.com/package/next-tick

Direct download link: https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz

Install: npm install [email protected]


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

To port it to Browser or any other (non CJS) environment, use your favorite CJS bundler. No favorite yet? Try: Browserify, Webmake or Webpack

Tests Build Status

$ npm test
Sustain

Releases

1.0.0 June 09, 2016
0.2.2 April 18, 2014
0.2.1 February 24, 2014
0.2.0 February 24, 2014
0.1.0 August 29, 2012

Project Statistics

SourceRank 18
Dependencies 0
Dependent projects 93
Dependent repositories 2.51K
Total releases 5
Latest release
First release
Stars 36
Forks 4
Watchers 4
Contributors 1
Repo Size: 29.3 KB

Top Contributors See all

Mariusz Nowak

Something wrong with this page? Make a suggestion

Export .ABOUT file for this library

Last synced: 2017-02-23 07:56:26 UTC

Login to resync this project