Skip to content
Myr

Readme.md

This file

Path

Readme.md

278 lines · 9.9 KiB · Markdown

Last changed by

docs: update npm install docs URL in Readme.md (#7159)Vansh Sharmabefore adoption8e022ed

History of this file

Take it

The walk stopped after 200 commits: lines older than 620df0e point at it.

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 1why, one step back
1[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](https://expressjs.com/)

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 2why, one step back
2

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 3why, one step back
3**Fast, unopinionated, minimalist web framework for [Node.js](https://nodejs.org).**

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 4why, one step back
4

update contributing and COC links (#6601)shubham oulkarbefore adoptionb52ff7c

line 5why, one step back
5**This project has a [Code of Conduct].**

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 6why, one step back
6

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 7–8why, one step back
7## Table of contents
8

fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8

lines 9–24why, one step back
9- [Table of contents](#table-of-contents)
10- [Installation](#installation)11- [Features](#features)12- [Docs \& Community](#docs--community)13- [Quick Start](#quick-start)14- [Philosophy](#philosophy)15- [Examples](#examples)16- [Contributing](#contributing)17 - [Security Issues](#security-issues)18 - [Running Tests](#running-tests)19- [Current project team members](#current-project-team-members)20 - [TC (Technical Committee)](#tc-technical-committee)21 - [TC emeriti members](#tc-emeriti-members)22 - [Triagers](#triagers)23 - [Emeritus Triagers](#emeritus-triagers)24- [License](#license)

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 25–28why, one step back
25
2627[![NPM Version][npm-version-image]][npm-url]28[![NPM Downloads][npm-downloads-image]][npm-downloads-url]

fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8

lines 29–30why, one step back
29[![Linux Build][github-actions-ci-image]][github-actions-ci-url]
30[![Test Coverage][coveralls-image]][coveralls-url]

Merge branch 'master' into 5-mergectcpipbefore adoptionea49706

line 31why, one step back
31[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

line 32why, one step back
32

Merge branch 'master' into 5-mergectcpipbefore adoptionea49706

line 33why, one step back
33

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 34why, one step back
34```js

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 35–36why, one step back
35import express from 'express'
36

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 37–38why, one step back
37const app = express()
38

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 39why, one step back
39app.get('/', (req, res) => {

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 40–42why, one step back
40 res.send('Hello World')
41})42

doc: update express app example (#6718)Shivam Sharmabefore adoptionaa90794

lines 43–45why, one step back
43app.listen(3000, () => {
44 console.log('Server is running on http://localhost:3000')45})

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 46–53why, one step back
46```
4748## Installation4950This is a [Node.js](https://nodejs.org/en/) module available through the51[npm registry](https://www.npmjs.com/).5253Before installing, [download and install Node.js](https://nodejs.org/en/download/).

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 54why, one step back
54Node.js 18 or higher is required.

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 55–59why, one step back
55
56If this is a brand new project, make sure to create a `package.json` first with57the [`npm init` command](https://docs.npmjs.com/creating-a-package-json-file).5859Installation is done using the

docs: update npm install docs URL in Readme.md (#7159)Vansh Sharmabefore adoption8e022ed

line 60why, one step back
60[`npm install` command](https://docs.npmjs.com/downloading-and-installing-packages-locally):

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 61why, one step back
61

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 62–63why, one step back
62```bash
63npm install express

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 64–65why, one step back
64```
65

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 66why, one step back
66Follow [our installing guide](https://expressjs.com/en/starter/installing.html)

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 67–80why, one step back
67for more information.
6869## Features7071 * Robust routing72 * Focus on high performance73 * Super-high test coverage74 * HTTP helpers (redirection, caching, etc)75 * View system supporting 14+ template engines76 * Content negotiation77 * Executable for generating applications quickly7879## Docs & Community80

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 81why, one step back
81 * [Website and Documentation](https://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 82why, one step back
82 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modules

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 83why, one step back
83 * [Github Discussions](https://github.com/expressjs/discussions) for discussion on the development and usage of Express

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 84why, one step back
84

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 85why, one step back
85**PROTIP** Be sure to read the [migration guide to v5](https://expressjs.com/en/guide/migrating-5)

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 86–92why, one step back
86
87## Quick Start8889 The quickest way to get started with express is to utilize the executable [`express(1)`](https://github.com/expressjs/generator) to generate an application as shown below:9091 Install the executable. The executable's major version will match Express's:92

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 93–94why, one step back
93```bash
94npm install -g express-generator@4

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 95–98why, one step back
95```
9697 Create the app:98

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 99–100why, one step back
99```bash
100express /tmp/foo && cd /tmp/foo

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 101–104why, one step back
101```
102103 Install dependencies:104

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 105–106why, one step back
105```bash
106npm install

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 107–110why, one step back
107```
108109 Start the server:110

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 111–112why, one step back
111```bash
112npm start

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 113–123why, one step back
113```
114115 View the website at: http://localhost:3000116117## Philosophy118119 The Express philosophy is to provide small, robust tooling for HTTP servers, making120 it a great solution for single page applications, websites, hybrids, or public121 HTTP APIs.122123 Express does not force you to use any specific ORM or template engine. With support for over

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 124why, one step back
124 14 template engines via [@ladjs/consolidate](https://github.com/ladjs/consolidate),

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 125–128why, one step back
125 you can quickly craft your perfect framework.
126127## Examples128

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 129why, one step back
129 To view the examples, clone the Express repository:

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 130why, one step back
130

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 131–132why, one step back
131```bash
132git clone https://github.com/expressjs/express.git --depth 1 && cd express

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 133–134why, one step back
133```
134

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 135–140why, one step back
135 Then install the dependencies:
136137```bash138npm install139```140

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 141–142why, one step back
141 Then run whichever example you want:
142

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 143–144why, one step back
143```bash
144node examples/content-negotiation

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 145–146why, one step back
145```
146

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 147why, one step back
147## Contributing

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 148why, one step back
148

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 149–152why, one step back
149The Express.js project welcomes all constructive contributions. Contributions take many forms,
150from code for bug fixes and enhancements, to additions and fixes to documentation, additional151tests, triaging incoming pull requests and issues, and more!152

update contributing and COC links (#6601)shubham oulkarbefore adoptionb52ff7c

line 153why, one step back
153See the [Contributing Guide] for more technical details on contributing.

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 154–156why, one step back
154
155### Security Issues156

docs: fix README security policy link (#7029)Pavan Shindebefore adoptionc4cc78b

line 157why, one step back
157If you discover a security vulnerability in Express, please see [Security Policies and Procedures](https://github.com/expressjs/express/security/policy).

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 158–160why, one step back
158
159### Running Tests160

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 161why, one step back
161To run the test suite, first install the dependencies:

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 162why, one step back
162

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 163–164why, one step back
163```bash
164npm install

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 165–166why, one step back
165```
166

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 167–172why, one step back
167Then run `npm test`:
168169```bash170npm test171```172

fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8

line 173why, one step back
173## Current project team members

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 174why, one step back
174

fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8

lines 175–176why, one step back
175For information about the governance of the express.js project, see [GOVERNANCE.md](https://github.com/expressjs/discussions/blob/HEAD/docs/GOVERNANCE.md).
176

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 177–180why, one step back
177The original author of Express is [TJ Holowaychuk](https://github.com/tj)
178179[List of all contributors](https://github.com/expressjs/express/graphs/contributors)180

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 181–207why, one step back
181### TC (Technical Committee)
182183* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)184* [jonchurch](https://github.com/jonchurch) - **Jon Church**185* [wesleytodd](https://github.com/wesleytodd) - **Wes Todd**186* [LinusU](https://github.com/LinusU) - **Linus Unnebäck**187* [blakeembrey](https://github.com/blakeembrey) - **Blake Embrey**188* [sheplu](https://github.com/sheplu) - **Jean Burellier**189* [crandmck](https://github.com/crandmck) - **Rand McKinney**190* [ctcpip](https://github.com/ctcpip) - **Chris de Almeida**191192<details>193<summary>TC emeriti members</summary>194195#### TC emeriti members196197 * [dougwilson](https://github.com/dougwilson) - **Douglas Wilson**198 * [hacksparrow](https://github.com/hacksparrow) - **Hage Yaapa**199 * [jonathanong](https://github.com/jonathanong) - **jongleberry**200 * [niftylettuce](https://github.com/niftylettuce) - **niftylettuce**201 * [troygoode](https://github.com/troygoode) - **Troy Goode**202</details>203204205### Triagers206207* [aravindvnair99](https://github.com/aravindvnair99) - **Aravind Nair**

Add @bjohansebas to the triage team (#6009)Ulises Gascónbefore adoption3e1a1ce

line 208why, one step back
208* [bjohansebas](https://github.com/bjohansebas) - **Sebastian Beltran**

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 209–211why, one step back
209* [carpasse](https://github.com/carpasse) - **Carlos Serrano**
210* [CBID2](https://github.com/CBID2) - **Christine Belzie**211* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)

Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f

line 212why, one step back
212* [IamLizu](https://github.com/IamLizu) - **S M Mahmudul Hasan** (he/him)

docs: add @Phillip9587 to the triage teamSebastian Beltranbefore adoption3bbffdc

line 213why, one step back
213* [Phillip9587](https://github.com/Phillip9587) - **Phillip Barta**

Nominate to @efekrskl for triage team (#6888)Sebastian Beltranbefore adoptionf33caf1

line 214why, one step back
214* [efekrskl](https://github.com/efekrskl) - **Efe Karasakal**

docs: add @rxmarbles to triagers (#6953)Rick Markinsbefore adoptionc2fb76e

line 215why, one step back
215* [rxmarbles](https://github.com/rxmarbles) - **Rick Markins** (he/him)

docs: add @krzysdz to the triage team (#6482)Sebastian Beltranbefore adoption2cd372e

line 216why, one step back
216* [krzysdz](https://github.com/krzysdz)

docs: Add @GroophyLifefor to the triage team (#6995)Sebastian Beltranbefore adoption66404b3

line 217why, one step back
217* [GroophyLifefor](https://github.com/GroophyLifefor) - **Murat Kirazkaya**

docs: update emeritus triagers (#6890)Sebastian Beltranbefore adoption77bcd52

line 218why, one step back
218

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 219–249why, one step back
219<details>
220<summary>Triagers emeriti members</summary>221222#### Emeritus Triagers223224 * [AuggieH](https://github.com/AuggieH) - **Auggie Hudak**225 * [G-Rath](https://github.com/G-Rath) - **Gareth Jones**226 * [MohammadXroid](https://github.com/MohammadXroid) - **Mohammad Ayashi**227 * [NawafSwe](https://github.com/NawafSwe) - **Nawaf Alsharqi**228 * [NotMoni](https://github.com/NotMoni) - **Moni**229 * [VigneshMurugan](https://github.com/VigneshMurugan) - **Vignesh Murugan**230 * [davidmashe](https://github.com/davidmashe) - **David Ashe**231 * [digitaIfabric](https://github.com/digitaIfabric) - **David**232 * [e-l-i-s-e](https://github.com/e-l-i-s-e) - **Elise Bonner**233 * [fed135](https://github.com/fed135) - **Frederic Charette**234 * [firmanJS](https://github.com/firmanJS) - **Firman Abdul Hakim**235 * [getspooky](https://github.com/getspooky) - **Yasser Ameur**236 * [ghinks](https://github.com/ghinks) - **Glenn**237 * [ghousemohamed](https://github.com/ghousemohamed) - **Ghouse Mohamed**238 * [gireeshpunathil](https://github.com/gireeshpunathil) - **Gireesh Punathil**239 * [jake32321](https://github.com/jake32321) - **Jake Reed**240 * [jonchurch](https://github.com/jonchurch) - **Jon Church**241 * [lekanikotun](https://github.com/lekanikotun) - **Troy Goode**242 * [marsonya](https://github.com/marsonya) - **Lekan Ikotun**243 * [mastermatt](https://github.com/mastermatt) - **Matt R. Wilson**244 * [maxakuru](https://github.com/maxakuru) - **Max Edell**245 * [mlrawlings](https://github.com/mlrawlings) - **Michael Rawlings**246 * [rodion-arr](https://github.com/rodion-arr) - **Rodion Abdurakhimov**247 * [sheplu](https://github.com/sheplu) - **Jean Burellier**248 * [tarunyadav1](https://github.com/tarunyadav1) - **Tarun yadav**249 * [tunniclm](https://github.com/tunniclm) - **Mike Tunnicliffe**

docs: update emeritus triagers (#6345)Ulises Gascónbefore adoption59703c2

lines 250–251why, one step back
250 * [enyoghasim](https://github.com/enyoghasim) - **David Enyoghasim**
251 * [0ss](https://github.com/0ss) - **Salah**

docs: remove dead link from Readme (#7136)Ayush Shuklabefore adoptione509919

line 252why, one step back
252 * [ejcheng](https://github.com/ejcheng)- **Eric Cheng** (he/him)

docs: update emeritus triagers (#6345)Ulises Gascónbefore adoption59703c2

lines 253–254why, one step back
253 * [dakshkhetan](https://github.com/dakshkhetan) - **Daksh Khetan** (he/him)
254 * [lucasraziel](https://github.com/lucasraziel) - **Lucas Soares Do Rego**

fix(docs): remove @mertcanaltin from Triagers (#6408)Mert Can Altinbefore adoptioncb4c56e

line 255why, one step back
255 * [mertcanaltin](https://github.com/mertcanaltin) - **Mert Can Altin**

docs: update emeritus triagers (#6890)Sebastian Beltranbefore adoption77bcd52

lines 256–258why, one step back
256 * [dpopp07](https://github.com/dpopp07) - **Dustin Popp**
257 * [Sushmeet](https://github.com/Sushmeet) - **Sushmeet Sunger**258 * [3imed-jaberi](https://github.com/3imed-jaberi) - **Imed Jaberi**

fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8

line 259why, one step back
259

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 260–262why, one step back
260</details>
261262

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

lines 263–266why, one step back
263## License
264265 [MIT](LICENSE)266

docs: switch badges from badgen.net to shields.io (#6900)Phillip Bartabefore adoption2551a7d

line 267why, one step back
267[coveralls-image]: https://img.shields.io/coverallsCoverage/github/expressjs/express?branch=master

deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e

line 268why, one step back
268[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master

docs: switch badges from badgen.net to shields.io (#6900)Phillip Bartabefore adoption2551a7d

line 269why, one step back
269[github-actions-ci-image]: https://img.shields.io/github/actions/workflow/status/expressjs/express/ci.yml?branch=master&label=ci

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 270why, one step back
270[github-actions-ci-url]: https://github.com/expressjs/express/actions/workflows/ci.yml

docs: switch badges from badgen.net to shields.io (#6900)Phillip Bartabefore adoption2551a7d

line 271why, one step back
271[npm-downloads-image]: https://img.shields.io/npm/dm/express

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 272–273why, one step back
272[npm-downloads-url]: https://npmcharts.com/compare/express?minimal=true
273[npm-url]: https://npmjs.org/package/express

docs: switch badges from badgen.net to shields.io (#6900)Phillip Bartabefore adoption2551a7d

line 274why, one step back
274[npm-version-image]: https://img.shields.io/npm/v/express

Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f

lines 275–276why, one step back
275[ossf-scorecard-badge]: https://api.scorecard.dev/projects/github.com/expressjs/express/badge
276[ossf-scorecard-visualizer]: https://ossf.github.io/scorecard-visualizer/#/projects/github.com/expressjs/express

update contributing and COC links (#6601)shubham oulkarbefore adoptionb52ff7c

lines 277–278why, one step back
277[Code of Conduct]: https://github.com/expressjs/.github/blob/HEAD/CODE_OF_CONDUCT.md
278[Contributing Guide]: https://github.com/expressjs/.github/blob/HEAD/CONTRIBUTING.md