package
Reverses callback parameter order
npm install backcallGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Turns fn(..., cb) into fn(cb, ...).
Here's why:
someFn = (cb) ->
async.rwaterfall cb, [
(cb) -> fn1 cb
(cb) -> fn2 cb
]is prettier than
someFn = (cb) ->
async.waterfall [
(cb) -> fn1 cb
(cb) -> fn2 cb
], cbfor methods that take callbacks.
It's minor, but it's a nuisance.