Skip to content
Sections
>> Trisquel >> Пакеты >> aramo >> javascript >> node-thenify
etiona  ] [  etiona-security  ] [  etiona-updates  ] [  nabia  ] [  nabia-security  ] [  nabia-updates  ] [  aramo  ]
[ Источник: node-thenify  ]

Пакет: node-thenify (3.3.1-2)

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.

Другие пакеты, относящиеся к node-thenify

  • зависимости
  • рекомендации
  • предложения

Загрузка node-thenify

Загрузить для всех доступных архитектур
Архитектура Размер пакета В установленном виде Файлы
all 4,9 Кб20 Кб [список файлов]