Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> javascript >> node-thenify-all
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: node-thenify-all  ]

套件: node-thenify-all (1.6.0-1)

Promisifies all the selected functions in an object

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-all 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: node-thenify
    Promisify a callback-based function
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    同時作為一個虛擬套件由這些套件提供: node-pegjs

下載 node-thenify-all

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 3.9 kB20 kB [文件列表]