just-next-tick

Cross-platform next-tick with fallback to setTimeout.

npm install just-next-tick
8 downloads in the last day
30 downloads in the last week
62 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