Readme.md
This file
Path
Readme.md
282 lines · 10.1 KiB · Markdown
Last changed by
docs: use the new logo (#7316)Sebastian Beltranbefore adoption66878d3
History of this fileTake it
The walk stopped after 200 commits: lines older than 620df0e point at it.
docs: use the new logo (#7316)Sebastian Beltranbefore adoption66878d3
lines 1–6why, one step back1<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>deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 7why, one step back7docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 8why, one step back8**Fast, unopinionated, minimalist web framework for [Node.js](https://nodejs.org).**deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 9why, one step back9Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 10–11why, one step back10## Table of contents11fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8
lines 12–26why, one step back12- [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)Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 27–30why, one step back272829[![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 back31[![Linux Build][github-actions-ci-image]][github-actions-ci-url]32[![Test Coverage][coveralls-image]][coveralls-url]Merge branch 'master' into 5-mergectcpipbefore adoptionea49706
line 33why, one step back33[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 34why, one step back34Merge branch 'master' into 5-mergectcpipbefore adoptionea49706
line 35why, one step back35deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 36why, one step back36```jsdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 37–38why, one step back37import express from 'express'38deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 39–40why, one step back39const app = express()40docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 41why, one step back41app.get('/', (req, res) => {deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 42–44why, one step back42 res.send('Hello World')43})44doc: update express app example (#6718)Shivam Sharmabefore adoptionaa90794
lines 45–47why, one step back45app.listen(3000, () => {46 console.log('Server is running on http://localhost:3000')47})deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 48–55why, one step back48```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 back56Node.js 18 or higher is required.deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 57–61why, one step back5758If 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 thedocs: update npm install docs URL in Readme.md (#7159)Vansh Sharmabefore adoption8e022ed
line 62why, one step back62[`npm install` command](https://docs.npmjs.com/downloading-and-installing-packages-locally):deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 63why, one step back63docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 64–65why, one step back64```bash65npm install expressdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 66–67why, one step back66```67docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 68why, one step back68Follow [our installing guide](https://expressjs.com/en/starter/installing.html)deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 69–82why, one step back69for 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 & Community82docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 83why, one step back83 * [Website and Documentation](https://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 84why, one step back84 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modulesdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 85why, one step back85 * [Github Discussions](https://github.com/expressjs/discussions) for discussion on the development and usage of Expressdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 86why, one step back86docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 87why, one step back87**PROTIP** Be sure to read the [migration guide to v5](https://expressjs.com/en/guide/migrating-5)deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 88–94why, one step back8889## 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:94docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 95–96why, one step back95```bash96npm install -g express-generator@4deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 97–100why, one step back97```9899 Create the app:100docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 101–102why, one step back101```bash102express /tmp/foo && cd /tmp/foodeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 103–106why, one step back103```104105 Install dependencies:106docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 107–108why, one step back107```bash108npm installdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 109–112why, one step back109```110111 Start the server:112docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 113–114why, one step back113```bash114npm startdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 115–125why, one step back115```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 overdocs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 126why, one step back126 14 template engines via [@ladjs/consolidate](https://github.com/ladjs/consolidate),deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 127–130why, one step back127 you can quickly craft your perfect framework.128129## Examples130docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 131why, one step back131 To view the examples, clone the Express repository:deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 132why, one step back132docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 133–134why, one step back133```bash134git clone https://github.com/expressjs/express.git --depth 1 && cd expressdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 135–136why, one step back135```136docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 137–142why, one step back137 Then install the dependencies:138139```bash140npm install141```142deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 143–144why, one step back143 Then run whichever example you want:144docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 145–146why, one step back145```bash146node examples/content-negotiationdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 147–148why, one step back147```148Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 149why, one step back149## Contributingdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 150why, one step back150Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 151–154why, one step back151The 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!154update contributing and COC links (#6601)shubham oulkarbefore adoptionb52ff7c
line 155why, one step back155See the [Contributing Guide] for more technical details on contributing.docs: use the new logo (#7316)Sebastian Beltranbefore adoption66878d3
lines 156–157why, one step back156157This project has a [Code of Conduct]. By participating, you are expected to uphold this code.Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 158–160why, one step back158159### Security Issues160docs: fix README security policy link (#7029)Pavan Shindebefore adoptionc4cc78b
line 161why, one step back161If you discover a security vulnerability in Express, please see [Security Policies and Procedures](https://github.com/expressjs/express/security/policy).Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 162–164why, one step back162163### Running Tests164docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
line 165why, one step back165To run the test suite, first install the dependencies:Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 166why, one step back166docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 167–168why, one step back167```bash168npm installdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 169–170why, one step back169```170docs: update readme (#5994)Sebastian Beltranbefore adoption508c740
lines 171–176why, one step back171Then run `npm test`:172173```bash174npm test175```176fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8
line 177why, one step back177## Current project team membersdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 178why, one step back178fix(docs): move documentation and charters to the discussions and .github … (#6427)Sebastian Beltranbefore adoption52872b8
lines 179–180why, one step back179For information about the governance of the express.js project, see [GOVERNANCE.md](https://github.com/expressjs/discussions/blob/HEAD/docs/GOVERNANCE.md).180deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 181–184why, one step back181The original author of Express is [TJ Holowaychuk](https://github.com/tj)182183[List of all contributors](https://github.com/expressjs/express/graphs/contributors)184Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 185–211why, one step back185### 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**Add @bjohansebas to the triage team (#6009)Ulises Gascónbefore adoption3e1a1ce
line 212why, one step back212* [bjohansebas](https://github.com/bjohansebas) - **Sebastian Beltran**Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 213–215why, one step back213* [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)Merge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f
line 216why, one step back216* [IamLizu](https://github.com/IamLizu) - **S M Mahmudul Hasan** (he/him)docs: add @Phillip9587 to the triage teamSebastian Beltranbefore adoption3bbffdc
line 217why, one step back217* [Phillip9587](https://github.com/Phillip9587) - **Phillip Barta**Nominate to @efekrskl for triage team (#6888)Sebastian Beltranbefore adoptionf33caf1
line 218why, one step back218* [efekrskl](https://github.com/efekrskl) - **Efe Karasakal**docs: add @rxmarbles to triagers (#6953)Rick Markinsbefore adoptionc2fb76e
line 219why, one step back219* [rxmarbles](https://github.com/rxmarbles) - **Rick Markins** (he/him)docs: add @krzysdz to the triage team (#6482)Sebastian Beltranbefore adoption2cd372e
line 220why, one step back220* [krzysdz](https://github.com/krzysdz)docs: Add @GroophyLifefor to the triage team (#6995)Sebastian Beltranbefore adoption66404b3
line 221why, one step back221* [GroophyLifefor](https://github.com/GroophyLifefor) - **Murat Kirazkaya**docs: update emeritus triagers (#6890)Sebastian Beltranbefore adoption77bcd52
line 222why, one step back222Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 223–253why, one step back223<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 back254 * [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 back256 * [ejcheng](https://github.com/ejcheng)- **Eric Cheng** (he/him)docs: update emeritus triagers (#6345)Ulises Gascónbefore adoption59703c2
lines 257–258why, one step back257 * [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 back259 * [mertcanaltin](https://github.com/mertcanaltin) - **Mert Can Altin**docs: update emeritus triagers (#6890)Sebastian Beltranbefore adoption77bcd52
lines 260–262why, one step back260 * [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 back263Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 264–266why, one step back264</details>265266deps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
lines 267–270why, one step back267## License268269 [MIT](LICENSE)270docs: switch badges from badgen.net to shields.io (#6900)Phillip Bartabefore adoption2551a7d
line 271why, one step back271[coveralls-image]: https://img.shields.io/coverallsCoverage/github/expressjs/express?branch=masterdeps: serve-static@2.0.0-beta.1Douglas Christopher Wilsonbefore adoption620df0e
line 272why, one step back272[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=masterdocs: switch badges from badgen.net to shields.io (#6900)Phillip Bartabefore adoption2551a7d
line 273why, one step back273[github-actions-ci-image]: https://img.shields.io/github/actions/workflow/status/expressjs/express/ci.yml?branch=master&label=ciMerge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 274why, one step back274[github-actions-ci-url]: https://github.com/expressjs/express/actions/workflows/ci.ymldocs: switch badges from badgen.net to shields.io (#6900)Phillip Bartabefore adoption2551a7d
line 275why, one step back275[npm-downloads-image]: https://img.shields.io/npm/dm/expressMerge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 276–277why, one step back276[npm-downloads-url]: https://npmcharts.com/compare/express?minimal=true277[npm-url]: https://npmjs.org/package/expressdocs: switch badges from badgen.net to shields.io (#6900)Phillip Bartabefore adoption2551a7d
line 278why, one step back278[npm-version-image]: https://img.shields.io/npm/v/expressMerge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f
lines 279–280why, one step back279[ossf-scorecard-badge]: https://api.scorecard.dev/projects/github.com/expressjs/express/badge280[ossf-scorecard-visualizer]: https://ossf.github.io/scorecard-visualizer/#/projects/github.com/expressjs/expressupdate contributing and COC links (#6601)shubham oulkarbefore adoptionb52ff7c
lines 281–282why, one step back281[Code of Conduct]: https://github.com/expressjs/.github/blob/HEAD/CODE_OF_CONDUCT.md282[Contributing Guide]: https://github.com/expressjs/.github/blob/HEAD/CONTRIBUTING.md