descriptionnone
repository URLhttps://github.com/visionmedia/express
ownertal@git.com
last changeWed, 20 Nov 2024 19:40:39 +0000 (20 14:40 -0500)
last refreshThu, 21 Nov 2024 08:20:02 +0000 (21 09:20 +0100)
content tags
add:
Readme.md

Express Logo

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

This project has a Code of Conduct.

Table of contents

NPM Version NPM Install Size NPM Downloads OpenSSF Scorecard Badge

import express from 'express'

const app = express()

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

app.listen(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:

npm install express

Follow our installing guide for more information.

Features

Docs & Community

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:

npm install -g express-generator@4

Create the app:

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

Install dependencies:

npm install

Start the server:

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:

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

Then install the dependencies:

npm install

Then run whichever example you want:

node examples/content-negotiation

Contributing

Linux Build Test Coverage

The Express.js project welcomes all constructive contributions. Contributions take many forms, from code for bug fixes and enhancements, to additions and fixes to documentation, additional tests, triaging incoming pull requests and issues, and more!

See the Contributing Guide for more technical details on contributing.

Security Issues

If you discover a security vulnerability in Express, please see Security Policies and Procedures.

Running Tests

To run the test suite, first install the dependencies:

npm install

Then run npm test:

npm test

People

The original author of Express is TJ Holowaychuk

List of all contributors

TC (Technical Committee)

<details> <summary>TC emeriti members</summary>

TC emeriti members

Triagers

<details> <summary>Triagers emeriti members</summary>

Emeritus Triagers

License

MIT

shortlog
12 hours ago Jon Churchupdate history.md for acceptParams change (#6177)master
5 days ago Phillip Bartacleanup: remove AsyncLocalStorage check from tests...
5 days ago Phillip9587cleanup: remove unnecessary require for global Buffer
5 days ago Sebastian Beltranimprove step update documentation
6 days ago Blake EmbreyUse loop for acceptParams (#6066)
8 days ago Phillip Bartachore(test): remove promise support check from tests...
2024-10-29 Ulises Gascóndocs: Add DCO (#6048)
2024-10-27 Bhavya Dhimanfix(buffer): use node:buffer instead of safe-buffer...
2024-10-22 Phillip Bartarefactor: Remove Object.setPrototypeOf polyfill (#6081)
2024-10-20 Rand McKinneydocs: add bjohansebas as repo captain for expressjs...
2024-10-20 Sebastian Beltrandocs: update readme (#5994)
2024-10-20 Sebastian Beltrandocs: update homepage link http to https (#5920)
2024-10-20 Chris de Almeidatest: add discarded middleware test (#5819)
2024-10-20 Sebastian Beltrandocs: add funding (#6064)
2024-10-20 Sebastian Beltranbuild: Node.js 23.0 (#6075)
2024-10-09 Ulises Gascóndocs: update captains
...
tags
6 weeks ago 5.0.1
6 weeks ago 4.21.1
2 months ago 4.21.0 4.21.0
2 months ago v5.0.0
2 months ago 4.20.0
7 months ago v5.0.0-beta.3 v5.0.0-beta.3
7 months ago 4.19.2 4.19.2
8 months ago 5.0.0-beta.2 5.0.0-beta.2
8 months ago 4.19.1 4.19.1
8 months ago 4.19.0 4.19.0
8 months ago 4.18.3 4.18.3
2 years ago 4.18.2
2 years ago 4.18.1
2 years ago 4.18.0
2 years ago 4.17.3
2 years ago v5.0.0-beta.1 5.0.0-beta.1
...
heads
12 hours ago master
2 weeks ago ulises/nominate-rxmarbles
2 weeks ago release/4.21.2
2 weeks ago release/5.0.2
4 weeks ago 4.x
2 months ago no-path-test
2 months ago serve-static-send-patch
2 months ago finalhandler-patch
2 months ago 5.x
2 months ago 5.0
2 months ago ricordisamoa-req-back
4 months ago response-time-captain
6 months ago release-branch-diagram
8 months ago doc-release-process
8 months ago remove-documenation
19 months ago develop