Skip to content
Sections
>> Trisquel >> パッケージ >> nabia-updates >> javascript >> node-thenify
etiona  ] [  etiona-security  ] [  etiona-updates  ] [  nabia  ] [  nabia-security  ] [  nabia-updates  ] [  aramo  ]
[ ソース: node-thenify  ]

パッケージ: node-thenify (3.3.0-1+deb10u1build0.20.04.1)

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 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: node-any-promise (>= 1.0.0)
    Resolve any installed ES6 compatible promise
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable

node-thenify のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 4.7 kB21 kB [ファイル一覧]