Skip to content
Myr

Readme.md

This file

Path

Readme.md

282 lines · 10.1 KiB · Markdown

Last changed by

docs: fix capitalization of GitHub Discussions in Readme (#7426)Kimkoungsoobefore adoption53d4a0d

History of this file

Take it

The walk stopped after 200 commits: lines older than 2027b87 point at it.

docs: use the new logo (#7316)Sebastian Beltranbefore adoption66878d3

lines 1–6why, one step back
1<a href="https://expressjs.com/">
2 <picture>3 <source media="(prefers-color-scheme: dark)" srcset="https://expressjs.com/images/logos/logo-express-white.svg">4 <img alt="Express Logo" src="https://expressjs.com/images/logos/logo-express-black.svg" width="280">5 </picture>6</a>

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

line 7why, one step back
7

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 9–11why, one step back
9
10## Table of contents11

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 27–30why, one step back
27
2829[![NPM Version][npm-version-image]][npm-url]30[![NPM Downloads][npm-downloads-image]][npm-downloads-url]

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 33–36why, one step back
33[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]
343536```js

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 37–38why, one step back
37import express from 'express'
38

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 39–40why, one step back
39const app = express()
40

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

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

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 48–55why, one step back
48```
4950## Installation5152This is a [Node.js](https://nodejs.org/en/) module available through the53[npm registry](https://www.npmjs.com/).5455Before installing, [download and install Node.js](https://nodejs.org/en/download/).

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

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

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

line 63why, one step back
63

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 64–65why, one step back
64```bash
65npm install express

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 66–67why, one step back
66```
67

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 69–82why, one step back
69for more information.
7071## Features7273 * Robust routing74 * Focus on high performance75 * Super-high test coverage76 * HTTP helpers (redirection, caching, etc)77 * View system supporting 14+ template engines78 * Content negotiation79 * Executable for generating applications quickly8081## Docs & Community82

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

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

docs: fix capitalization of GitHub Discussions in Readme (#7426)Kimkoungsoobefore adoption53d4a0d

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

line 86why, one step back
86

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 88–94why, one step back
88
89## Quick Start9091 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:9293 Install the executable. The executable's major version will match Express's:94

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 97–100why, one step back
97```
9899 Create the app:100

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 101–102why, one step back
101```bash
102express /tmp/foo && cd /tmp/foo

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 103–106why, one step back
103```
104105 Install dependencies:106

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 107–108why, one step back
107```bash
108npm install

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 109–112why, one step back
109```
110111 Start the server:112

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 113–114why, one step back
113```bash
114npm start

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 115–125why, one step back
115```
116117 View the website at: http://localhost:3000118119## Philosophy120121 The Express philosophy is to provide small, robust tooling for HTTP servers, making122 it a great solution for single page applications, websites, hybrids, or public123 HTTP APIs.124125 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 126why, one step back
126 14 template engines via [@ladjs/consolidate](https://github.com/ladjs/consolidate),

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 127–130why, one step back
127 you can quickly craft your perfect framework.
128129## Examples130

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

line 132why, one step back
132

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 135–136why, one step back
135```
136

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 137–142why, one step back
137 Then install the dependencies:
138139```bash140npm install141```142

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 143–144why, one step back
143 Then run whichever example you want:
144

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 145–146why, one step back
145```bash
146node examples/content-negotiation

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 147–154why, one step back
147```
148149## Contributing150151The Express.js project welcomes all constructive contributions. Contributions take many forms,152from code for bug fixes and enhancements, to additions and fixes to documentation, additional153tests, triaging incoming pull requests and issues, and more!154

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

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

docs: use the new logo (#7316)Sebastian Beltranbefore adoption66878d3

lines 156–157why, one step back
156
157This project has a [Code of Conduct]. By participating, you are expected to uphold this code.

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 158–160why, one step back
158
159### Security Issues160

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 162–164why, one step back
162
163### Running Tests164

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

line 166why, one step back
166

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 167–168why, one step back
167```bash
168npm install

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 169–170why, one step back
169```
170

docs: update readme (#5994)Sebastian Beltranbefore adoption508c740

lines 171–176why, one step back
171Then run `npm test`:
172173```bash174npm test175```176

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

line 178why, one step back
178

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 181–216why, one step back
181The original author of Express is [TJ Holowaychuk](https://github.com/tj)
182183[List of all contributors](https://github.com/expressjs/express/graphs/contributors)184185### TC (Technical Committee)186187* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)188* [jonchurch](https://github.com/jonchurch) - **Jon Church**189* [wesleytodd](https://github.com/wesleytodd) - **Wes Todd**190* [LinusU](https://github.com/LinusU) - **Linus Unnebäck**191* [blakeembrey](https://github.com/blakeembrey) - **Blake Embrey**192* [sheplu](https://github.com/sheplu) - **Jean Burellier**193* [crandmck](https://github.com/crandmck) - **Rand McKinney**194* [ctcpip](https://github.com/ctcpip) - **Chris de Almeida**195196<details>197<summary>TC emeriti members</summary>198199#### TC emeriti members200201 * [dougwilson](https://github.com/dougwilson) - **Douglas Wilson**202 * [hacksparrow](https://github.com/hacksparrow) - **Hage Yaapa**203 * [jonathanong](https://github.com/jonathanong) - **jongleberry**204 * [niftylettuce](https://github.com/niftylettuce) - **niftylettuce**205 * [troygoode](https://github.com/troygoode) - **Troy Goode**206</details>207208209### Triagers210211* [aravindvnair99](https://github.com/aravindvnair99) - **Aravind Nair**212* [bjohansebas](https://github.com/bjohansebas) - **Sebastian Beltran**213* [carpasse](https://github.com/carpasse) - **Carlos Serrano**214* [CBID2](https://github.com/CBID2) - **Christine Belzie**215* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)216* [IamLizu](https://github.com/IamLizu) - **S M Mahmudul Hasan** (he/him)

docs: add @Phillip9587 to the triage teamSebastian Beltranbefore adoption3bbffdc

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

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

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

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

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

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

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

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

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

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

line 222why, one step back
222

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

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

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

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

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

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

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

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

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

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

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

lines 260–262why, one step back
260 * [dpopp07](https://github.com/dpopp07) - **Dustin Popp**
261 * [Sushmeet](https://github.com/Sushmeet) - **Sushmeet Sunger**262 * [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 263why, one step back
263

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

lines 264–270why, one step back
264</details>
265266267## License268269 [MIT](LICENSE)270

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

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

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

line 274why, one step back
274[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 275why, one step back
275[npm-downloads-image]: https://img.shields.io/npm/dm/express

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

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

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

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

fix(deps): cookie@0.7.0Josh Bukerbefore adoption2027b87

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

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

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