Module Express::Express

Predicates

appCreation

Gets a data flow node that corresponds to an expression that creates a new Express application.

isApp

DEPRECATED: Use appCreation() instead.

isAppCreation

DEPRECATED: Use appCreation() instead.

isRequest

Holds if e is an HTTP request object.

isResponse

Holds if e is an HTTP response object.

isRouterCreation

Holds if e creates an Express router (possibly an application).

routerCreation

Gets a data flow node that corresponds to an expression that creates a new Express router (possibly an application).

Classes

Credentials

An expression that is passed as expressBasicAuth({ users: { <user>: <password> }}).

RequestBodyAccess

An access to the HTTP request body.

RequestExpr

An Express request expression.

RequestInputAccess

An access to a user-controlled Express request input.

ResponseExpr

An Express response expression.

RouteExpr

An expression that refers to a route.

RouteHandler

A function used as an Express route handler.

RouteHandlerExpr

An expression used as an Express route handler, such as submitHandler below: app.post('/submit', submitHandler)

RouteSetup

A call to an Express method that sets up a route.

RouteSetupCandidate

A call that looks like a route setup on an Express server.

RouterDefinition

An Express router.

SetMultipleHeaders

An invocation of the set or header method on an HTTP response object that sets multiple headers.

StandardRouteHandler

An Express route handler installed by a route setup.