Skip to content
Myr

Readme.md

This file

Path

Readme.md

273 lines · 9.6 KiB · Markdown

Last changed by

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

History of this file

Take it

The walk stopped after 200 commits: lines older than eabd456 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/)

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

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).**

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

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].**

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

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

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

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

Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99

line 37why, one step back
37const app = express()

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

line 38why, one step back
38

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 40–45why, one step back
40 res.send('Hello World')
41})4243app.listen(3000)44```45

Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3

line 46why, one step back
46## Installation

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

line 47why, one step back
47

Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe

lines 48–51why, one step back
48This is a [Node.js](https://nodejs.org/en/) module available through the
49[npm registry](https://www.npmjs.com/).5051Before installing, [download and install Node.js](https://nodejs.org/en/download/).

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe

line 53why, one step back
53

Merge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c

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

Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe

lines 57–59why, one step back
57Installation is done using the
58[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):59

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 60–61why, one step back
60```bash
61npm install express

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

line 62why, one step back
62```

Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe

line 63why, one step back
63

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe

line 65why, one step back
65for more information.

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 66–78why, one step back
66
67## Features6869 * Robust routing70 * Focus on high performance71 * Super-high test coverage72 * HTTP helpers (redirection, caching, etc)73 * View system supporting 14+ template engines74 * Content negotiation75 * Executable for generating applications quickly7677## Docs & Community78

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2

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

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6

line 82why, one step back
82

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 84–90why, one step back
84
85## Quick Start8687 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:8889 Install the executable. The executable's major version will match Express's:90

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 93–96why, one step back
93```
9495 Create the app:96

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 97–98why, one step back
97```bash
98express /tmp/foo && cd /tmp/foo

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 99–102why, one step back
99```
100101 Install dependencies:102

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 103–104why, one step back
103```bash
104npm install

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 105–108why, one step back
105```
106107 Start the server:108

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 109–110why, one step back
109```bash
110npm start

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 111–112why, one step back
111```
112

Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99

lines 113–114why, one step back
113 View the website at: http://localhost:3000
114

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 115–117why, one step back
115## Philosophy
116117 The Express philosophy is to provide small, robust tooling for HTTP servers, making

Merge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c

line 118why, one step back
118 it a great solution for single page applications, websites, hybrids, or public

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 119–121why, one step back
119 HTTP APIs.
120121 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 122why, one step back
122 14 template engines via [@ladjs/consolidate](https://github.com/ladjs/consolidate),

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 123–126why, one step back
123 you can quickly craft your perfect framework.
124125## Examples126

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

line 128why, one step back
128

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 131–132why, one step back
131```
132

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 133–138why, one step back
133 Then install the dependencies:
134135```bash136npm install137```138

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 139–140why, one step back
139 Then run whichever example you want:
140

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 141–142why, one step back
141```bash
142node examples/content-negotiation

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 143–144why, one step back
143```
144

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 145why, one step back
145## Contributing

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

line 146why, one step back
146

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

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

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

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

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 152–154why, one step back
152
153### Security Issues154

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

line 155why, one step back
155If you discover a security vulnerability in Express, please see [Security Policies and Procedures](SECURITY.md).

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 156–158why, one step back
156
157### Running Tests158

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 160why, one step back
160

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 161–162why, one step back
161```bash
162npm install

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 163–164why, one step back
163```
164

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 165–170why, one step back
165Then run `npm test`:
166167```bash168npm test169```170

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

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

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

line 172why, one step back
172

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

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

Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615

line 175why, one step back
175The original author of Express is [TJ Holowaychuk](https://github.com/tj)

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

line 176why, one step back
176

Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5

line 177why, one step back
177[List of all contributors](https://github.com/expressjs/express/graphs/contributors)

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

line 178why, one step back
178

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 179–205why, one step back
179### TC (Technical Committee)
180181* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)182* [jonchurch](https://github.com/jonchurch) - **Jon Church**183* [wesleytodd](https://github.com/wesleytodd) - **Wes Todd**184* [LinusU](https://github.com/LinusU) - **Linus Unnebäck**185* [blakeembrey](https://github.com/blakeembrey) - **Blake Embrey**186* [sheplu](https://github.com/sheplu) - **Jean Burellier**187* [crandmck](https://github.com/crandmck) - **Rand McKinney**188* [ctcpip](https://github.com/ctcpip) - **Chris de Almeida**189190<details>191<summary>TC emeriti members</summary>192193#### TC emeriti members194195 * [dougwilson](https://github.com/dougwilson) - **Douglas Wilson**196 * [hacksparrow](https://github.com/hacksparrow) - **Hage Yaapa**197 * [jonathanong](https://github.com/jonathanong) - **jongleberry**198 * [niftylettuce](https://github.com/niftylettuce) - **niftylettuce**199 * [troygoode](https://github.com/troygoode) - **Troy Goode**200</details>201202203### Triagers204205* [aravindvnair99](https://github.com/aravindvnair99) - **Aravind Nair**

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

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

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 207–208why, one step back
207* [carpasse](https://github.com/carpasse) - **Carlos Serrano**
208* [CBID2](https://github.com/CBID2) - **Christine Belzie**

docs: add @dpopp07 to the triage team (#6352)Ulises Gascónbefore adoption9cbe2c2

line 209why, one step back
209* [dpopp07](https://github.com/dpopp07) - **Dustin Popp**

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 210–211why, one step back
210* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)
211* [3imed-jaberi](https://github.com/3imed-jaberi) - **Imed Jaberi**

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**

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

line 214why, one step back
214* [Sushmeet](https://github.com/Sushmeet) - **Sushmeet Sunger**

docs: add @rxmarbles to the triage team (#6151)Ulises Gascónbefore adoption39f5d63

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

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

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

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

lines 248–252why, one step back
248 * [enyoghasim](https://github.com/enyoghasim) - **David Enyoghasim**
249 * [0ss](https://github.com/0ss) - **Salah**250 * [import-brain](https://github.com/import-brain) - **Eric Cheng** (he/him)251 * [dakshkhetan](https://github.com/dakshkhetan) - **Daksh Khetan** (he/him)252 * [lucasraziel](https://github.com/lucasraziel) - **Lucas Soares Do Rego**

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

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

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

line 254why, one step back
254

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 255–257why, one step back
255</details>
256257

Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3

line 258why, one step back
258## License

Fix handling of URLs containing :// in the pathAria Stewartbefore adoptioneabd456

lines 259–261why, one step back
259
260 [MIT](LICENSE)261

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 262why, one step back
262[coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/express/master

Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5

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

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

line 264why, one step back
264[github-actions-ci-image]: https://badgen.net/github/checks/expressjs/express/master?label=CI

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 265–269why, one step back
265[github-actions-ci-url]: https://github.com/expressjs/express/actions/workflows/ci.yml
266[npm-downloads-image]: https://badgen.net/npm/dm/express267[npm-downloads-url]: https://npmcharts.com/compare/express?minimal=true268[npm-url]: https://npmjs.org/package/express269[npm-version-image]: https://badgen.net/npm/v/express

Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f

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

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

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