todas as opções
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Fonte: node-thenify  ]

Pacote: node-thenify (3.3.1-3)

Links para node-thenify

Screenshot

Recursos de Debian:

Baixe o pacote-fonte node-thenify:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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 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.

Outros pacotes relacionados a node-thenify

  • depende
  • recomenda
  • sugere
  • melhora

Download de node-thenify

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 5.3 kB20.0 kB [lista de arquivos]