UNPKG

then-callback

Version:

Wrap a promise to allow passing callback to `.then` of given promise, also works as normal `.then`

38 lines (37 loc) 811 B
{ "name": "then-callback", "version": "1.0.3", "description": "Wrap a promise to allow passing callback to `.then` of given promise, also works as normal `.then`", "repository": "hybridables/then-callback", "author": "Charlike Mike Reagent <@tunnckoCore> (http://www.tunnckocore.tk)", "precommit.silent": true, "main": "index.js", "license": "MIT", "scripts": { "test": "standard && node test.js" }, "dependencies": { "is-promise": "^2.1.0" }, "devDependencies": { "assertit": "^0.1.0", "native-or-another": "^3.0.1", "pre-commit": "^1.1.2", "redolent": "^1.0.3" }, "files": [ "index.js" ], "keywords": [ "allow", "callback", "callbackify", "cb", "free", "promise", "then", "thenify", "wrap", "wrapper" ] }