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