req.fresh Indicates whether the request is “fresh.” It is the opposite of req.stale. It is true
app.use([path,] function [, function...]) Mounts the specified middleware function or functions at the specified path. If path
res.format(object) Performs content-negotiation on the Accept HTTP header on the request object, when present. It uses
Node.js vulnerabilities directly affect Express. Therefore keep
A template engine enables you to use static template files in your application. At runtime, the template engine replaces variables in a template file with actual values
res.get(field) Returns the HTTP response header specified by field. The match is case-insensitive.
req.param(name [, defaultValue]) Deprecated. Use either req.params, req.body or req
app.enable(name) Sets the Boolean setting name to true, where name is one of the properties from the
res.render(view [, locals] [, callback]) Renders a view and sends the rendered HTML string to the client. Optional parameters:
res.links(links) Joins the links provided as properties of the parameter to populate the response’s Link HTTP header
Page 4 of 11