errbacker
v0.2.3
Published
Splits any function(error, result1, result2...) into two separate functions (errback and callback) via currying errback
Downloads
10
Readme
Use like this:
var errbacker = require('errbacker')
var errback = console.error
var callback = console.log //your function where you want to push results
var withoutErrors = errbacker.curry(errback)
fs.stat('/tmp', withoutErrors(callback))