[ bianca ]
[ Paquet source : node-thenify ]
Paquet : node-thenify (3.3.1-3)
Liens pour node-thenify
Télécharger le paquet source node-thenify :
Responsables :
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
Promisify a callback-based function
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 styleAn 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.
Autres paquets associés à node-thenify
|
|
|
|
-
- dep: node-any-promise
- Resolve any installed ES6 compatible promise
Télécharger node-thenify
| Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
|---|---|---|---|
| all | 5,3 ko | 20,0 ko | [liste des fichiers] |