nextTick - Cross environment nextTick polyfill
Can be used in cross environment modules that need nextTick functionality.
When run in Node.js
process.nextTick is run, in other engines
setTimeout(fn, 0) is used as fallback.
In your project path:
$ npm install next-tick
You can easily bundle npm packages for browser with modules-webmake
$ npm test