CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.2-dev (changelog, source)
Search

Module Promisify

Provides classes modeling libraries implementing promisify functions. That is, functions that convert callback style functions to functions that return a promise.

Import path

import javascript

Classes

PromisifyAllCall

A call to a promisifyAll function. E.g. require("bluebird").promisifyAll(...).

PromisifyCall

A call to a promisify function. E.g. require("util").promisify(...).