tick-id
Give each tick on the Node.js event loop it's own ID.
A tick ID is nothing native to Node.js but an invention of this module.
It can be useful if you for instance want to keep track of which events
happen on the same tick.

Installation
npm install tick-id
Usage
The tick-id module exposes a function which will return the id of the
current tick:
var assert = require('assert')
var tickId = require('tick-id')
var id = tickId()
assert.equal(id, tickId())
process.nextTick(function () {
assert.notEqual(id, tickId())
})
License
MIT