Skip to content
Myr

Readme.md

This file

Path

Readme.md

261 lines · 9.6 KiB · Markdown

Last changed by

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

History of this file

Take it

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

docs: fix logo linkDouglas Christopher Wilsonbefore adoption3de4e42

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

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 2why, one step back
2

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

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

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 4why, one step back
4

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

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

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 6why, one step back
6

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 7–24why, one step back
7## Table of contents
89* [Installation](#Installation)10* [Features](#Features)11* [Docs & Community](#docs--community)12* [Quick Start](#Quick-Start)13* [Running Tests](#Running-Tests)14* [Philosophy](#Philosophy)15* [Examples](#Examples)16* [Contributing to Express](#Contributing)17* [TC (Technical Committee)](#tc-technical-committee)18* [Triagers](#triagers)19* [License](#license)202122[![NPM Version][npm-version-image]][npm-url]23[![NPM Install Size][npm-install-size-image]][npm-install-size-url]24[![NPM Downloads][npm-downloads-image]][npm-downloads-url]

Merge branch 'master' into 5-mergectcpipbefore adoptionea49706

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

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

line 26why, one step back
26

Merge branch 'master' into 5-mergectcpipbefore adoptionea49706

line 27why, one step back
27

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

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

Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99

lines 29–30why, one step back
29const express = require('express')
30const app = express()

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 31–38why, one step back
31
32app.get('/', function (req, res) {33 res.send('Hello World')34})3536app.listen(3000)37```38

Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3

line 39why, one step back
39## Installation

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 40why, one step back
40

Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe

lines 41–46why, one step back
41This is a [Node.js](https://nodejs.org/en/) module available through the
42[npm registry](https://www.npmjs.com/).4344Before installing, [download and install Node.js](https://nodejs.org/en/download/).45Node.js 0.10 or higher is required.46

Merge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c

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

Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe

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

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 53why, one step back
53```console

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 54–55why, one step back
54$ npm install express
55```

Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe

lines 56–58why, one step back
56
57Follow [our installing guide](http://expressjs.com/en/starter/installing.html)58for more information.

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 59why, one step back
59

docs: misc. tweaksFishrock123before adoption5f7a37e

lines 60–71why, one step back
60## Features
6162 * Robust routing63 * Focus on high performance64 * Super-high test coverage65 * HTTP helpers (redirection, caching, etc)66 * View system supporting 14+ template engines67 * Content negotiation68 * Executable for generating applications quickly6970## Docs & Community71

Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e

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

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 73why, one step back
73 * [#express](https://web.libera.chat/#express) on [Libera Chat](https://libera.chat) IRC

Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2

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

Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6

line 75why, one step back
75 * Visit the [Wiki](https://github.com/expressjs/express/wiki)

docs: misc. tweaksFishrock123before adoption5f7a37e

line 76why, one step back
76 * [Google Group](https://groups.google.com/group/express-js) for discussion

Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5

line 77why, one step back
77 * [Gitter](https://gitter.im/expressjs/express) for support and discussion

Merge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6

lines 78–79why, one step back
78
79**PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/expressjs/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/expressjs/express/wiki/New-features-in-4.x).

docs: misc. tweaksFishrock123before adoption5f7a37e

line 80why, one step back
80

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 81–86why, one step back
81## Quick Start
8283 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:8485 Install the executable. The executable's major version will match Express's:86

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 87why, one step back
87```console

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 88–92why, one step back
88$ npm install -g express-generator@4
89```9091 Create the app:92

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 93why, one step back
93```console

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 94–98why, one step back
94$ express /tmp/foo && cd /tmp/foo
95```9697 Install dependencies:98

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 99why, one step back
99```console

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 100–104why, one step back
100$ npm install
101```102103 Start the server:104

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 105why, one step back
105```console

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 106–108why, one step back
106$ npm start
107```108

Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99

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

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 111–113why, one step back
111## Philosophy
112113 The Express philosophy is to provide small, robust tooling for HTTP servers, making

Merge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c

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

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 115–117why, one step back
115 HTTP APIs.
116117 Express does not force you to use any specific ORM or template engine. With support for over

docs: visionmedia is now tj on GithubDouglas Christopher Wilsonbefore adoptione9539fc

line 118why, one step back
118 14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 119–120why, one step back
119 you can quickly craft your perfect framework.
120

docs: misc. tweaksFishrock123before adoption5f7a37e

line 121why, one step back
121## Examples

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 122why, one step back
122

Merge tag '4.12.4'Douglas Christopher Wilsonbefore adoptionf90e045

line 123why, one step back
123 To view the examples, clone the Express repo and install the dependencies:

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 124why, one step back
124

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 125–126why, one step back
125```console
126$ git clone https://github.com/expressjs/express.git --depth 1

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 127–132why, one step back
127$ cd express
128$ npm install129```130131 Then run whichever example you want:132

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 133why, one step back
133```console

docs: misc. tweaksFishrock123before adoption5f7a37e

lines 134–135why, one step back
134$ node examples/content-negotiation
135```

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 136why, one step back
136

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 137why, one step back
137## Contributing

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 138why, one step back
138

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 139–141why, one step back
139 [![Linux Build][github-actions-ci-image]][github-actions-ci-url]
140 [![Windows Build][appveyor-image]][appveyor-url]141 [![Test Coverage][coveralls-image]][coveralls-url]

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 142why, one step back
142

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 143–157why, one step back
143The Express.js project welcomes all constructive contributions. Contributions take many forms,
144from code for bug fixes and enhancements, to additions and fixes to documentation, additional145tests, triaging incoming pull requests and issues, and more!146147See the [Contributing Guide](Contributing.md) for more technical details on contributing.148149### Security Issues150151If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).152153### Running Tests154155To run the test suite, first install the dependencies, then run `npm test`:156157```console

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 158why, one step back
158$ npm install

docs: misc. tweaksFishrock123before adoption5f7a37e

line 159why, one step back
159$ npm test

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 160–161why, one step back
160```
161

Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3

line 162why, one step back
162## People

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 163why, one step back
163

Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615

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

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 165why, one step back
165

Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5

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

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

line 167why, one step back
167

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 168–194why, one step back
168### TC (Technical Committee)
169170* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)171* [jonchurch](https://github.com/jonchurch) - **Jon Church**172* [wesleytodd](https://github.com/wesleytodd) - **Wes Todd**173* [LinusU](https://github.com/LinusU) - **Linus Unnebäck**174* [blakeembrey](https://github.com/blakeembrey) - **Blake Embrey**175* [sheplu](https://github.com/sheplu) - **Jean Burellier**176* [crandmck](https://github.com/crandmck) - **Rand McKinney**177* [ctcpip](https://github.com/ctcpip) - **Chris de Almeida**178179<details>180<summary>TC emeriti members</summary>181182#### TC emeriti members183184 * [dougwilson](https://github.com/dougwilson) - **Douglas Wilson**185 * [hacksparrow](https://github.com/hacksparrow) - **Hage Yaapa**186 * [jonathanong](https://github.com/jonathanong) - **jongleberry**187 * [niftylettuce](https://github.com/niftylettuce) - **niftylettuce**188 * [troygoode](https://github.com/troygoode) - **Troy Goode**189</details>190191192### Triagers193194* [aravindvnair99](https://github.com/aravindvnair99) - **Aravind Nair**

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

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

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

lines 196–205why, one step back
196* [carpasse](https://github.com/carpasse) - **Carlos Serrano**
197* [CBID2](https://github.com/CBID2) - **Christine Belzie**198* [enyoghasim](https://github.com/enyoghasim) - **David Enyoghasim**199* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)200* [mertcanaltin](https://github.com/mertcanaltin) - **Mert Can Altin**201* [0ss](https://github.com/0ss) - **Salah**202* [import-brain](https://github.com/import-brain) - **Eric Cheng** (he/him)203* [3imed-jaberi](https://github.com/3imed-jaberi) - **Imed Jaberi**204* [dakshkhetan](https://github.com/dakshkhetan) - **Daksh Khetan** (he/him)205* [lucasraziel](https://github.com/lucasraziel) - **Lucas Soares Do Rego**

Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f

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

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

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

Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3

line 243why, one step back
243## License

Merge tag '3.16.2'Douglas Christopher Wilsonbefore adoptione05a520

lines 244–245why, one step back
244
245 [MIT](LICENSE)

docs: misc. tweaksFishrock123before adoption5f7a37e

line 246why, one step back
246

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

line 247why, one step back
247[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/express/master?label=windows

Merge tag '4.12.0'Douglas Christopher Wilsonbefore adoptionf6ec710

line 248why, one step back
248[appveyor-url]: https://ci.appveyor.com/project/dougwilson/express

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

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

Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5

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

Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae

lines 251–258why, one step back
251[github-actions-ci-image]: https://badgen.net/github/checks/expressjs/express/master?label=linux
252[github-actions-ci-url]: https://github.com/expressjs/express/actions/workflows/ci.yml253[npm-downloads-image]: https://badgen.net/npm/dm/express254[npm-downloads-url]: https://npmcharts.com/compare/express?minimal=true255[npm-install-size-image]: https://badgen.net/packagephobia/install/express256[npm-install-size-url]: https://packagephobia.com/result?p=express257[npm-url]: https://npmjs.org/package/express258[npm-version-image]: https://badgen.net/npm/v/express

Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f

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

Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690

line 261why, one step back
261[Code of Conduct]: https://github.com/expressjs/express/blob/master/Code-Of-Conduct.md