kevin tessier 5eedee288e install npm | 5 years ago | |
---|---|---|
.. | ||
test | 5 years ago | |
.lint | 5 years ago | |
.npmignore | 5 years ago | |
.travis.yml | 5 years ago | |
CHANGES | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
index.js | 5 years ago | |
package.json | 5 years ago |
To be used in environment agnostic modules that need nextTick functionality.
process.nextTick
is usedMutationObserver
setImmediate
or setTimeout(fn, 0)
is used as fallback.null
In your project path:
$ npm install next-tick
You can easily bundle next-tick
for browser with any CJS bundler, e.g. modules-webmake
$ npm test