go

Cross-platform next-tick with fallback to setTimeout.

npm install go
1 downloads in the last day
8 downloads in the last week
19 downloads in the last month

go

Cross-platform next-tick with fallback to setTimeout.

Install

$ npm install go

Usage

go = require('go')

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

console.log('hello')

// hello
// world
npm loves you