Package: node-thenify-all Version: 1.6.0 Revision: 1.1.1 ### BuildDepends: << fink (>= 0.32) << Depends: << node-thenify, nodejs << ### Source: mirror:debian:/pool/main/n/%n/%n_%v.orig.tar.gz Source-Checksum: SHA256(7af2f9339e2c1e03f851534b41b0d5b16dc7ec928714428568043b96ec5f6da1) SourceDirectory: thenify-all-%v Source2: mirror:debian:pool/main/n/%n/%n_%v-1.1.debian.tar.xz Source2-Checksum: SHA256(4b7dc540f50032a0441db8933470e69228058c3305985c9a4ac48a778f069b6f) Source2ExtractDir: thenify-all-%v ### DocFiles: README.md LICENSE History.md ### CompileScript: << mkdir thenify-all cp index.js thenify-all cp package.json thenify-all << # Skip mocha tests as it will cause a circdep InfoTest: << # TestDepends: << # mocha # << TestScript: << chmod +x debian/tests/require NODE_PATH=. debian/tests/require || exit 2 #mocha -R spec || exit 2 << << InstallScript: << install -d -m0755 %i/share/nodejs cp -R thenify-all %i/share/nodejs/ << ### Description: Promisifies all the selected functions DescDetail: << 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. << ### License: BSD Homepage: https://github.com/thenables/thenify-all Maintainer: Justin F. Hallett