expressjs /express

Fast, unopinionated, minimalist web framework for node.

★ 69,573⑂ 25,397👁 1,697⑃ 2,743● 4,088▤ 166◈ 206
JavaScriptMITCreated 2009-06-26expressjs.com
69,573
stars
+0
25,397
forks
1,697
watchers
2,743
prs
4,088
issues
166
releases
206
discussions

README

Fast, unopinionated, minimalist web framework for Node.js.

 Table of contents

- Installation
- Features
- Docs \& Community
- Quick Start
- Philosophy
- Examples
- Contributing
  - Security Issues
  - Running Tests
- Current project team members
  - TC (Technical Committee)
    - TC emeriti members
  - Triagers
    - Emeritus Triagers
- License


[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-downloads-url]
[![Linux Build][github-actions-ci-image]][github-actions-ci-url]
[![Test Coverage][coveralls-image]][coveralls-url]
[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]


js
import express from 'express'

const app = express()

app.get('/', (req, res) = {
  res.send('Hello World')
})

app.listen(3000, () = {
  console.log('Server is running on http://localhost:3000')
})


 Installation

This is a Node.js module available through the
npm registry.

Before installing, download and install Node.js.
Node.js 18 or higher is required.

If this is a brand new project, make sure to create a package.json first with
the npm init command.

Installation is done using the
npm install command:

bash
npm install express


Follow our installing guide
for more information.

 Features

   Robust routing
   Focus on high performance
   Super-high test coverage
   HTTP helpers (redirection, caching, etc)
   View system supporting 14+ template engines
   Content negotiation
   Executable for generating applications quickly

 Docs & Community

   Website and Documentation - [website repo]
   GitHub Organization for Official Middleware & Modules
   GitHub Discussions for discussion on the development and usage of Express

PROTIP Be sure to read the migration guide to v5

 Quick Start

  The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:

  Install the executable. The executable's major version will match Express's:

bash
npm install -g express-generator@4


  Create the app:

bash
express /tmp/foo && cd /tmp/foo


  Install dependencies:

bash
npm install


  Start the server:

bash
npm start


  View the website at: http://localhost:3000

 Philosophy

  The Express philosophy is to provide small, robust tooling for HTTP servers, making
  it a great solution for single page applications, websites, hybrids, or public
  HTTP APIs.

  Express does not force you to use any specific ORM or template engine. With support for over
  14 template engines via @ladjs/consolidate,
  you can quickly craft your perfect framework.

 Examples

  To view the examples, clone the Express repository:

bash
git clone https://github.com/expressjs/express.git --depth 1 && cd express


  Then install the dependencies:

bash
npm install


  Then run whichever example you want:

bash
node examples/content-negotiation


 Contributing

The Express.js project welcomes all constructive contributions. Contributions take many forms,
from code for bug fixe

Top issues

Discussions

Latest release

v5.3.0 v5.3.0 2026-10-09
Highlights

 🐞 Bug fixes

- Fixed HTTP header conflict between Content-Length and Transfer-Encoding in res.send - by @YuryShkoda in 4893


    Fixed the behavior of res.send() to prevent conflicts between Content-Length and Transfer-Encoding HTTP headers in responses. The Content-Length header in res.send() is now only added when a Transfer-Encoding header is not present, complying with the HTTP specification that states both headers should not coexist in the same response. ETag generation is unaffected by the presence of a Transfer-Encoding header - by @cuishuang in 7459

 Upgrade qs

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON