1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Source: node-thenify-all
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Preyass Chandran <preyassc@hotmail.com>
Build-Depends:
debhelper (>= 9)
, dh-buildinfo
, nodejs
, mocha
, node-thenify
Standards-Version: 4.1.0
Homepage: https://github.com/thenables/thenify-all
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-thenify-all.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-thenify-all.git
Package: node-thenify-all
Architecture: all
Depends:
${misc:Depends}
, nodejs
, node-thenify
Description: Promisifies all the selected functions in an object
Some features of this module:
- Preserves function names
- Uses a native promise implementation if available and tries to fall back to
a promise implementation such as bluebird
- Converts multiple arguments from the callback into an Array, also support
change the behavior by options.multiArgs
- Resulting function never deoptimizes
- Supports both callback and promise style
An added benefit is that thrown errors in that async function will be caught
by the promise!
.
Node.js is an event-based server-side JavaScript engine.
|