Module NodeJSLib::NodeJSLib

Predicates

isCreateServer

Holds if call is an invocation of http.createServer or https.createServer.

process

Gets a reference to the ‘process’ object.

Classes

ClientRequestHandler

A data flow node that is registered as a callback for an HTTP or HTTPS request made by a Node.js process, for example the function handler in http.request(url).on(message, handler).

ClientRequestLoginCallback

A data flow node that is the login callback provided by an HTTP or HTTPS request made by a Node.js process, for example callback in http.request(url).on('login', (res, callback) => {}).

Credentials

An expression that is passed as http.request({ auth: <expr> }, ...).

CustomNodeJSClientRequest

A data flow node that is an HTTP or HTTPS client request made by a Node.js application, for example http.request(url).

NodeJSClientRequest

A data flow node that is an HTTP or HTTPS client request made by a Node.js application, for example http.request(url).

ProcessTermination

A call a process-terminating function, such as process.exit.

RequestExpr

A Node.js HTTP request.

ResponseExpr

A Node.js HTTP response.

RouteHandler

A function used as an Node.js server route handler.

RouteHandlerCandidate

A function that looks like a Node.js route handler.

RouteSetup
RouteSetupCandidate

A call that looks like a route setup on a Node.js server.

ServerDefinition

An expression that creates a new Node.js server.

StandardRouteHandler

A route handler installed by a route setup.

VmModuleMethodCall

A call to a method from module vm