Barebone once-and-only-once callback transformer.
var once = require('once-cb')
var cb = once(function() {
console.log('callback!)
})
cb() // console.log appears
cb() // nothing happens
For details, look at the tests.
Written by Marinin Tim (@marinintim), licensed under MIT license.