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
|
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-compat (= 13)
, dh-sequence-nodejs
, mocha <!nocheck>
, node-thenify <!nocheck>
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/js-team/node-thenify-all
Vcs-Git: https://salsa.debian.org/js-team/node-thenify-all.git
Homepage: https://github.com/thenables/thenify-all
Testsuite: autopkgtest-pkg-nodejs
Rules-Requires-Root: no
Package: node-thenify-all
Architecture: all
Depends: ${misc:Depends}
, node-thenify
Multi-Arch: foreign
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.
|