Readme.md
This file
Path
Readme.md
266 lines · 9.1 KiB · Markdown
Last changed by
docs: add @dpopp07 to the triage team (#6352)Ulises Gascónbefore adoption9cbe2c2
History of this fileTake it
The walk stopped after 200 commits: lines older than b8c8ece point at it.
docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 1why, one step back1[](https://expressjs.com/)Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
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).**Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 4why, one step back4Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 5why, one step back5**This project has a [Code of Conduct][].**Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 6why, one step back6Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 7–23why, one step back7## Table of contents89* [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 Downloads][npm-downloads-image]][npm-downloads-url]Merge branch 'master' into 5-mergectcpipbefore adoptionea49706
line 24why, one step back24[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 25why, one step back25Merge branch 'master' into 5-mergectcpipbefore adoptionea49706
line 26why, one step back26Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 27why, one step back27```jsdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 28–29why, one step back28import express from 'express'29Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
line 30why, one step back30const app = express()Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 31why, one step back31docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 32why, one step back32app.get('/', (req, res) => {Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 33–38why, one step back33 res.send('Hello World')34})3536app.listen(3000)37```38Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 39why, one step back39## InstallationMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 40why, one step back40Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 41–44why, one step back41This is a [Node.js](https://nodejs.org/en/) module available through the42[npm registry](https://www.npmjs.com/).4344Before installing, [download and install Node.js](https://nodejs.org/en/download/).docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 45why, one step back45Node.js 18 or higher is required.Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
line 46why, one step back46Merge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c
lines 47–49why, one step back47If this is a brand new project, make sure to create a `package.json` first with48the [`npm init` command](https://docs.npmjs.com/creating-a-package-json-file).49Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 50–52why, one step back50Installation is done using the51[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):52docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 53–54why, one step back53```bash54npm install expressMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 55why, one step back55```Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
line 56why, one step back56docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 57why, one step back57Follow [our installing guide](https://expressjs.com/en/starter/installing.html)Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
line 58why, one step back58for more information.Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 59why, one step back59docs: misc. tweaksFishrock123before adoption5f7a37e
lines 60–71why, one step back60## Features6162 * 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 & Community71docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 72why, one step back72 * [Website and Documentation](https://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]Merge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
line 73why, one step back73 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modulesdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 74why, one step back74 * [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 75why, one step back75docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 76why, one step back76**PROTIP** Be sure to read the [migration guide to v5](https://expressjs.com/en/guide/migrating-5)docs: misc. tweaksFishrock123before adoption5f7a37e
line 77why, one step back77Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 78–83why, one step back78## Quick Start7980 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:8182 Install the executable. The executable's major version will match Express's:83docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 84–85why, one step back84```bash85npm install -g express-generator@4Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 86–89why, one step back86```8788 Create the app:89docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 90–91why, one step back90```bash91express /tmp/foo && cd /tmp/fooMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 92–95why, one step back92```9394 Install dependencies:95docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 96–97why, one step back96```bash97npm installMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 98–101why, one step back98```99100 Start the server:101docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 102–103why, one step back102```bash103npm startMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 104–105why, one step back104```105Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
lines 106–107why, one step back106 View the website at: http://localhost:3000107Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 108–110why, one step back108## Philosophy109110 The Express philosophy is to provide small, robust tooling for HTTP servers, makingMerge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c
line 111why, one step back111 it a great solution for single page applications, websites, hybrids, or publicMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 112–114why, one step back112 HTTP APIs.113114 Express does not force you to use any specific ORM or template engine. With support for overdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 115why, one step back115 14 template engines via [@ladjs/consolidate](https://github.com/ladjs/consolidate),Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 116–117why, one step back116 you can quickly craft your perfect framework.117docs: misc. tweaksFishrock123before adoption5f7a37e
line 118why, one step back118## ExamplesMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 119why, one step back119docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 120why, one step back120 To view the examples, clone the Express repository:Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 121why, one step back121docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 122–123why, one step back122```bash123git clone https://github.com/expressjs/express.git --depth 1 && cd expressMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 124–125why, one step back124```125docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 126–131why, one step back126 Then install the dependencies:127128```bash129npm install130```131Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 132–133why, one step back132 Then run whichever example you want:133docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 134–135why, one step back134```bash135node examples/content-negotiationdocs: misc. tweaksFishrock123before adoption5f7a37e
line 136why, one step back136```Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 137why, one step back137Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 138why, one step back138## ContributingMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 139why, one step back139Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 140–141why, one step back140 [![Linux Build][github-actions-ci-image]][github-actions-ci-url]141 [![Test Coverage][coveralls-image]][coveralls-url]Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 142why, one step back142Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 143–154why, one step back143The 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 Tests154docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 155why, one step back155To run the test suite, first install the dependencies:Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 156why, one step back156docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 157–158why, one step back157```bash158npm installMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 159–160why, one step back159```160docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 161–166why, one step back161Then run `npm test`:162163```bash164npm test165```166Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 167why, one step back167## PeopleMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 168why, one step back168Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615
line 169why, one step back169The original author of Express is [TJ Holowaychuk](https://github.com/tj)Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 170why, one step back170Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 171why, one step back171[List of all contributors](https://github.com/expressjs/express/graphs/contributors)Merge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
line 172why, one step back172Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 173–199why, one step back173### TC (Technical Committee)174175* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)176* [jonchurch](https://github.com/jonchurch) - **Jon Church**177* [wesleytodd](https://github.com/wesleytodd) - **Wes Todd**178* [LinusU](https://github.com/LinusU) - **Linus Unnebäck**179* [blakeembrey](https://github.com/blakeembrey) - **Blake Embrey**180* [sheplu](https://github.com/sheplu) - **Jean Burellier**181* [crandmck](https://github.com/crandmck) - **Rand McKinney**182* [ctcpip](https://github.com/ctcpip) - **Chris de Almeida**183184<details>185<summary>TC emeriti members</summary>186187#### TC emeriti members188189 * [dougwilson](https://github.com/dougwilson) - **Douglas Wilson**190 * [hacksparrow](https://github.com/hacksparrow) - **Hage Yaapa**191 * [jonathanong](https://github.com/jonathanong) - **jongleberry**192 * [niftylettuce](https://github.com/niftylettuce) - **niftylettuce**193 * [troygoode](https://github.com/troygoode) - **Troy Goode**194</details>195196197### Triagers198199* [aravindvnair99](https://github.com/aravindvnair99) - **Aravind Nair**Add @bjohansebas to the triage team (#6009)Ulises Gascónbefore adoption3e1a1ce
line 200why, one step back200* [bjohansebas](https://github.com/bjohansebas) - **Sebastian Beltran**Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 201–202why, one step back201* [carpasse](https://github.com/carpasse) - **Carlos Serrano**202* [CBID2](https://github.com/CBID2) - **Christine Belzie**docs: add @dpopp07 to the triage team (#6352)Ulises Gascónbefore adoption9cbe2c2
line 203why, one step back203* [dpopp07](https://github.com/dpopp07) - **Dustin Popp**Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 204–206why, one step back204* [UlisesGascon](https://github.com/UlisesGascon) - **Ulises Gascón** (he/him)205* [mertcanaltin](https://github.com/mertcanaltin) - **Mert Can Altin**206* [3imed-jaberi](https://github.com/3imed-jaberi) - **Imed Jaberi**Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f
line 207why, one step back207* [IamLizu](https://github.com/IamLizu) - **S M Mahmudul Hasan** (he/him)docs: add @Phillip9587 to the triage teamSebastian Beltranbefore adoption3bbffdc
line 208why, one step back208* [Phillip9587](https://github.com/Phillip9587) - **Phillip Barta**Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 209why, one step back209* [Sushmeet](https://github.com/Sushmeet) - **Sushmeet Sunger**docs: add @rxmarbles to the triage team (#6151)Ulises Gascónbefore adoption39f5d63
line 210why, one step back210* [rxmarbles](https://github.com/rxmarbles) **Rick Markins** (He/him)Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 211–242why, one step back211212<details>213<summary>Triagers emeriti members</summary>214215#### Emeritus Triagers216217 * [AuggieH](https://github.com/AuggieH) - **Auggie Hudak**218 * [G-Rath](https://github.com/G-Rath) - **Gareth Jones**219 * [MohammadXroid](https://github.com/MohammadXroid) - **Mohammad Ayashi**220 * [NawafSwe](https://github.com/NawafSwe) - **Nawaf Alsharqi**221 * [NotMoni](https://github.com/NotMoni) - **Moni**222 * [VigneshMurugan](https://github.com/VigneshMurugan) - **Vignesh Murugan**223 * [davidmashe](https://github.com/davidmashe) - **David Ashe**224 * [digitaIfabric](https://github.com/digitaIfabric) - **David**225 * [e-l-i-s-e](https://github.com/e-l-i-s-e) - **Elise Bonner**226 * [fed135](https://github.com/fed135) - **Frederic Charette**227 * [firmanJS](https://github.com/firmanJS) - **Firman Abdul Hakim**228 * [getspooky](https://github.com/getspooky) - **Yasser Ameur**229 * [ghinks](https://github.com/ghinks) - **Glenn**230 * [ghousemohamed](https://github.com/ghousemohamed) - **Ghouse Mohamed**231 * [gireeshpunathil](https://github.com/gireeshpunathil) - **Gireesh Punathil**232 * [jake32321](https://github.com/jake32321) - **Jake Reed**233 * [jonchurch](https://github.com/jonchurch) - **Jon Church**234 * [lekanikotun](https://github.com/lekanikotun) - **Troy Goode**235 * [marsonya](https://github.com/marsonya) - **Lekan Ikotun**236 * [mastermatt](https://github.com/mastermatt) - **Matt R. Wilson**237 * [maxakuru](https://github.com/maxakuru) - **Max Edell**238 * [mlrawlings](https://github.com/mlrawlings) - **Michael Rawlings**239 * [rodion-arr](https://github.com/rodion-arr) - **Rodion Abdurakhimov**240 * [sheplu](https://github.com/sheplu) - **Jean Burellier**241 * [tarunyadav1](https://github.com/tarunyadav1) - **Tarun yadav**242 * [tunniclm](https://github.com/tunniclm) - **Mike Tunnicliffe**docs: update emeritus triagers (#6345)Ulises Gascónbefore adoption59703c2
lines 243–248why, one step back243 * [enyoghasim](https://github.com/enyoghasim) - **David Enyoghasim**244 * [0ss](https://github.com/0ss) - **Salah**245 * [import-brain](https://github.com/import-brain) - **Eric Cheng** (he/him)246 * [dakshkhetan](https://github.com/dakshkhetan) - **Daksh Khetan** (he/him)247 * [lucasraziel](https://github.com/lucasraziel) - **Lucas Soares Do Rego**248Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 249–251why, one step back249</details>250251Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 252why, one step back252## LicenseMerge tag '3.17.5'Douglas Christopher Wilsonbefore adoptionb8c8ece
lines 253–254why, one step back253254 [MIT](LICENSE)docs: misc. tweaksFishrock123before adoption5f7a37e
line 255why, one step back255Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 256why, one step back256[coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/express/masterMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 257why, one step back257[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=masterdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 258why, one step back258[github-actions-ci-image]: https://badgen.net/github/checks/expressjs/express/master?label=CIMerge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 259–263why, one step back259[github-actions-ci-url]: https://github.com/expressjs/express/actions/workflows/ci.yml260[npm-downloads-image]: https://badgen.net/npm/dm/express261[npm-downloads-url]: https://npmcharts.com/compare/express?minimal=true262[npm-url]: https://npmjs.org/package/express263[npm-version-image]: https://badgen.net/npm/v/expressMerge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f
lines 264–265why, one step back264[ossf-scorecard-badge]: https://api.scorecard.dev/projects/github.com/expressjs/express/badge265[ossf-scorecard-visualizer]: https://ossf.github.io/scorecard-visualizer/#/projects/github.com/expressjs/expressMerge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 266why, one step back266[Code of Conduct]: https://github.com/expressjs/express/blob/master/Code-Of-Conduct.md