to-callback (npm): Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.
Keywords: api|apis|callback|cb|convert|create|err|errfirst|error|errorfirst|first|hybridables|hybrids|modify|promisify|res|resfirst|result|resultfirst|tocallback|transform|util