Readme.md
This file
Path
Readme.md
272 lines · 9.6 KiB · Markdown
Last changed by
doc: fix the Contributing.md link (#6653)Jon Churchbefore adoption9420cd3
History of this fileTake it
The walk stopped after 200 commits: lines older than 6f31218 point at it.
docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 1why, one step back1[](https://expressjs.com/)Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 2why, one step back2docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 3why, one step back3**Fast, unopinionated, minimalist web framework for [Node.js](https://nodejs.org).**Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 4why, one step back4Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 5why, one step back5**This project has a [Code of Conduct][].**Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 6why, one step back6Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 7–8why, one step back7## Table of contents8fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8
lines 9–24why, one step back9- [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 back252627[![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 back29[![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 back31[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 32why, one step back32Merge branch 'master' into 5-mergectcpipbefore adoptionea49706
line 33why, one step back33Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 34why, one step back34```jsdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 35–36why, one step back35import express from 'express'36Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 37why, one step back37const app = express()Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 38why, one step back38docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 39why, one step back39app.get('/', (req, res) => {Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 40–45why, one step back40 res.send('Hello World')41})4243app.listen(3000)44```45Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 46why, one step back46## InstallationUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 47why, one step back47Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 48–51why, one step back48This is a [Node.js](https://nodejs.org/en/) module available through the49[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 back52Node.js 18 or higher is required.Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
line 53why, one step back53Merge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c
lines 54–56why, one step back54If this is a brand new project, make sure to create a `package.json` first with55the [`npm init` command](https://docs.npmjs.com/creating-a-package-json-file).56Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 57–59why, one step back57Installation is done using the58[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):59docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 60–61why, one step back60```bash61npm install expressUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 62why, one step back62```Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
line 63why, one step back63docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 64why, one step back64Follow [our installing guide](https://expressjs.com/en/starter/installing.html)Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
line 65why, one step back65for more information.Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 66why, one step back66docs: misc. tweaksFishrock123before adoption5f7a37e
lines 67–78why, one step back67## 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 & Community78docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 79why, one step back79 * [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 back80 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modulesdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 81why, one step back81 * [Github Discussions](https://github.com/expressjs/discussions) for discussion on the development and usage of ExpressMerge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
line 82why, one step back82docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 83why, one step back83**PROTIP** Be sure to read the [migration guide to v5](https://expressjs.com/en/guide/migrating-5)docs: misc. tweaksFishrock123before adoption5f7a37e
line 84why, one step back84Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 85–90why, one step back85## 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:90docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 91–92why, one step back91```bash92npm install -g express-generator@4Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 93–96why, one step back93```9495 Create the app:96docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 97–98why, one step back97```bash98express /tmp/foo && cd /tmp/fooUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 99–102why, one step back99```100101 Install dependencies:102docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 103–104why, one step back103```bash104npm installUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 105–108why, one step back105```106107 Start the server:108docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 109–110why, one step back109```bash110npm startUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 111–112why, one step back111```112Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
lines 113–114why, one step back113 View the website at: http://localhost:3000114Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 115–117why, one step back115## Philosophy116117 The Express philosophy is to provide small, robust tooling for HTTP servers, makingMerge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c
line 118why, one step back118 it a great solution for single page applications, websites, hybrids, or publicUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 119–121why, one step back119 HTTP APIs.120121 Express does not force you to use any specific ORM or template engine. With support for overdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 122why, one step back122 14 template engines via [@ladjs/consolidate](https://github.com/ladjs/consolidate),Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 123–124why, one step back123 you can quickly craft your perfect framework.124docs: misc. tweaksFishrock123before adoption5f7a37e
line 125why, one step back125## ExamplesUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 126why, one step back126docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 127why, one step back127 To view the examples, clone the Express repository:Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 128why, one step back128docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 129–130why, one step back129```bash130git clone https://github.com/expressjs/express.git --depth 1 && cd expressUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 131–132why, one step back131```132docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 133–138why, one step back133 Then install the dependencies:134135```bash136npm install137```138Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 139–140why, one step back139 Then run whichever example you want:140docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 141–142why, one step back141```bash142node examples/content-negotiationdocs: misc. tweaksFishrock123before adoption5f7a37e
line 143why, one step back143```Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 144why, one step back144Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 145why, one step back145## ContributingUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 146why, one step back146Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 147–150why, one step back147The 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!150doc: fix the Contributing.md link (#6653)Jon Churchbefore adoption9420cd3
line 151why, one step back151See the [Contributing Guide](https://github.com/expressjs/.github/blob/HEAD/CONTRIBUTING.md) for more technical details on contributing.Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 152–154why, one step back152153### Security Issues154fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8
line 155why, one step back155If 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 back156157### Running Tests158docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 159why, one step back159To run the test suite, first install the dependencies:Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 160why, one step back160docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 161–162why, one step back161```bash162npm installUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 163–164why, one step back163```164docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 165–170why, one step back165Then run `npm test`:166167```bash168npm test169```170fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8
line 171why, one step back171## Current project team membersUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 172why, one step back172fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8
lines 173–174why, one step back173For information about the governance of the express.js project, see [GOVERNANCE.md](https://github.com/expressjs/discussions/blob/HEAD/docs/GOVERNANCE.md).174Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615
line 175why, one step back175The original author of Express is [TJ Holowaychuk](https://github.com/tj)Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 176why, one step back176Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 177why, one step back177[List of all contributors](https://github.com/expressjs/express/graphs/contributors)Use content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
line 178why, one step back178Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 179–205why, one step back179### 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 back206* [bjohansebas](https://github.com/bjohansebas) - **Sebastian Beltran**Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 207–208why, one step back207* [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 back209* [dpopp07](https://github.com/dpopp07) - **Dustin Popp**Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 210–211why, one step back210* [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 back212* [IamLizu](https://github.com/IamLizu) - **S M Mahmudul Hasan** (he/him)docs: add @Phillip9587 to the triage teamSebastian Beltranbefore adoption3bbffdc
line 213why, one step back213* [Phillip9587](https://github.com/Phillip9587) - **Phillip Barta**Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 214why, one step back214* [Sushmeet](https://github.com/Sushmeet) - **Sushmeet Sunger**docs: add @rxmarbles to the triage team (#6151)Ulises Gascónbefore adoption39f5d63
line 215why, one step back215* [rxmarbles](https://github.com/rxmarbles) **Rick Markins** (He/him)Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 216–247why, one step back216217<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 back248 * [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 back253 * [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 back254Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 255–257why, one step back255</details>256257Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 258why, one step back258## LicenseUse content-disposition moduleDouglas Christopher Wilsonbefore adoption6f31218
lines 259–260why, one step back259260 [MIT](LICENSE)docs: misc. tweaksFishrock123before adoption5f7a37e
line 261why, one step back261Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 262why, one step back262[coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/express/masterMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 263why, one step back263[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=masterdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 264why, one step back264[github-actions-ci-image]: https://badgen.net/github/checks/expressjs/express/master?label=CIMerge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 265–269why, one step back265[github-actions-ci-url]: https://github.com/expressjs/express/actions/workflows/ci.yml266[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/expressMerge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f
lines 270–271why, one step back270[ossf-scorecard-badge]: https://api.scorecard.dev/projects/github.com/expressjs/express/badge271[ossf-scorecard-visualizer]: https://ossf.github.io/scorecard-visualizer/#/projects/github.com/expressjs/expressMerge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 272why, one step back272[Code of Conduct]: https://github.com/expressjs/express/blob/master/Code-Of-Conduct.md