Diese Übersetzung zur Verfügung gestellt von StrongLoop / IBM.

Dieses Dokument kann im Vergleich zur englischen Dokumentation veraltet sein. Aktuelle Updates finden Sie in der englischen Dokumentation.

Express-Middleware

Nachfolgend sind einige Express-Middlewaremodule aufgeführt:

express-slash: Express-Middlewaremodul für Benutzer, die hohen Wert auf abschließende Schrägstriche legen. Beschreibung
body-parser Parse HTTP request body.
compression Compress HTTP responses.
connect-rid Generate unique request ID.
cookie-parser Parse cookie header and populate req.cookies. See also cookies.
cookie-session Establish cookie-based sessions.
cors Enable cross-origin resource sharing (CORS) with various options.
errorhandler Development error-handling/debugging.
method-override Override HTTP methods using header.
morgan HTTP request logger.
multer Handle multi-part form data.
response-time Record HTTP response time.
serve-favicon Serve a favicon.
serve-index Serve directory listing for a given path.
serve-static Serve static files.
session Establish server-based sessions (development only).
timeout Set a timeout perioHTTP request processing.
vhost Create virtual domains.

Informationen zu weiteren Middlewaremodulen siehe:

These are some additional popular middleware modules.

Warning

This information refers to third-party sites, products, or modules that are not maintained by the Expressjs team. Listing here does not constitute an endorsement or recommendation from the Expressjs project team.

express-slash: Express-Middlewaremodul für Benutzer, die hohen Wert auf abschließende Schrägstriche legen. Beschreibung
helmet: Modul zur Sicherung Ihrer Anwendungen durch Festlegung verschiedener HTTP-Header. Helps secure your apps by setting various HTTP headers.
passport: Express-Middlewaremodul für die Authentifizierung. Authentication using “strategies” such as OAuth, OpenID and many others. See passportjs.org for more information.