0.0.9 • Published 10 years ago

goldfinch v0.0.9

Weekly downloads
19
License
-
Repository
github
Last release
10 years ago

goldfinch

Extends Bluebird

tap()

Promise.resolve().tap(function(a) { } /*, error handler */)

fcall()

Promise.fcall(function(p1) {}, p1).then()

nfcall()

Promise.nfcall(function(p1, cb) { cb() }, p1).then()

promisifyValues()

Promise.promisifyValues({ abc: function() {} }).abc().then()

ambidextrous()

Guess if a function takes a callback parameter, and make it optional

Promise.ambidextrous(function(abc, cb) { cb() }).then();
Promise.ambidextrous(function(abc) { return abc }).then();
0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago