just-next-tick

Cross-platform next-tick with fallback to setTimeout.

npm install just-next-tick
17 downloads in the last day
24 downloads in the last week
54 downloads in the last month

just-next-tick

Cross-platform next-tick with fallback to setTimeout.

Install

$ npm install just-next-tick

Usage

nextTick = require('just-next-tick')

nextTick(function () {
  console.log('world')
})

console.log('hello')

// hello
// world
npm loves you