Express: Web framework for Node.js
Middleware-based HTTP routing and response handling for Node.js.
Learn more about express
Express is a web application framework written for Node.js that handles HTTP request routing and response management. It uses a middleware-based architecture where functions process requests sequentially before reaching route handlers, allowing modular composition of functionality. The framework supports multiple template engines, content negotiation, and provides built-in HTTP helpers for common server tasks. Express is commonly used for building REST APIs, single-page application backends, and traditional web applications.

Unopinionated design
Express does not mandate specific ORMs, template engines, or architectural patterns. It supports over 14 template engines through consolidation libraries, allowing developers to select their own tooling stack.
Middleware-based architecture
Request processing flows through a chain of middleware functions that can modify requests, responses, or terminate the chain. This design enables modular composition of features like authentication, logging, and error handling.
Minimal core with routing
The framework provides essential HTTP server functionality including robust routing, content negotiation, and HTTP helpers for redirection and caching, without adding unnecessary abstractions or dependencies.
const express = require('express');
const app = express();
app.get('/api/users', (req, res) => {
res.json({ users: ['Alice', 'Bob', 'Charlie'] });
});
app.listen(3000);Patch release updating the `cookie` dependency to fix CVE-2024-47764; no breaking changes or migration steps required.
- –Update to address CVE-2024-47764 in the `cookie` package via semver lock change.
- –Test script no longer uses `--bail` flag; release notes do not specify other functional changes.
Maintenance release removing legacy polyfills and dependencies (safe-buffer, utils-merge, depd, methods) while adding ETag support in res.sendFile and updating body-parser/router to v2.1.
- –Remove Object.setPrototypeOf polyfill and safe-buffer dependency; now requires Node.js with native support for these features.
- –Add ETag option to res.sendFile and extend res.links() to allow multiple links with the same rel attribute.
Maintenance release updating path-to-regexp dependency to 0.1.12; no breaking changes or new requirements specified.
- –Update path-to-regexp from 0.1.10 to 0.1.12 for route parsing improvements.
- –Release notes do not specify security fixes, breaking changes, or migration steps.
See how people are using express
Top in Backend & APIs
Related Repositories
Discover similar tools and frameworks used by developers
laravel
Full-stack PHP framework with ORM and dependency injection.
PHPMailer
SMTP client and MIME message builder for PHP.
whatsmeow
Go client library for WhatsApp web multidevice protocol.
rails
Convention-driven Ruby framework for full-stack web applications.
beego
MVC framework for Go with integrated ORM and routing.