npm.io

Errorfirst Packages

to-callback

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.

apiapiscallbackcbconvertcreateerrerrfirsterrorerrorfirst
1.0.1 • Published 9 years ago

contact@npm.io