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 fileTake it
The walk stopped after 200 commits: lines older than 6680132 point at it.
docs: fix logo linkDouglas Christopher Wilsonbefore adoption3de4e42
line 1why, one step back1[](http://expressjs.com/)Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 2why, one step back2Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 3why, one step back3**Fast, unopinionated, minimalist web framework for [Node.js](http://nodejs.org).**Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
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.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 6why, one step back6Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 7–24why, 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 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 back25[![OpenSSF Scorecard Badge][ossf-scorecard-badge]][ossf-scorecard-visualizer]Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 26why, one step back26Merge branch 'master' into 5-mergectcpipbefore adoptionea49706
line 27why, one step back27Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 28why, one step back28```jsMerge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
lines 29–30why, one step back29const express = require('express')30const app = express()Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 31–38why, one step back3132app.get('/', function (req, res) {33 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.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 40why, one step back40Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 41–46why, 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/).45Node.js 0.10 or higher is required.46Merge 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):52Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 53why, one step back53```consoleMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 54–55why, one step back54$ npm install express55```Merge tag '4.16.2'Douglas Christopher Wilsonbefore adoption62e12fe
lines 56–58why, one step back5657Follow [our installing guide](http://expressjs.com/en/starter/installing.html)58for more information.Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
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 & Community71Merge tag '4.15.0'Douglas Christopher Wilsonbefore adoption501e24e
line 72why, one step back72 * [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 back73 * [#express](https://web.libera.chat/#express) on [Libera Chat](https://libera.chat) IRCMerge tag '4.15.4'Douglas Christopher Wilsonbefore adoptionc319fe2
line 74why, one step back74 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & ModulesMerge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
line 75why, one step back75 * Visit the [Wiki](https://github.com/expressjs/express/wiki)docs: misc. tweaksFishrock123before adoption5f7a37e
line 76why, one step back76 * [Google Group](https://groups.google.com/group/express-js) for discussionMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 77why, one step back77 * [Gitter](https://gitter.im/expressjs/express) for support and discussionMerge tag '4.14.0'Douglas Christopher Wilsonbefore adoption1dbfee6
lines 78–79why, one step back7879**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 back80Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 81–86why, one step back81## Quick Start8283 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:86Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 87why, one step back87```consoleMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 88–92why, one step back88$ npm install -g express-generator@489```9091 Create the app:92Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 93why, one step back93```consoleMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 94–98why, one step back94$ express /tmp/foo && cd /tmp/foo95```9697 Install dependencies:98Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 99why, one step back99```consoleMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 100–104why, one step back100$ npm install101```102103 Start the server:104Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 105why, one step back105```consoleMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 106–108why, one step back106$ npm start107```108Merge tag '4.17.1'Douglas Christopher Wilsonbefore adoption121fe99
lines 109–110why, one step back109 View the website at: http://localhost:3000110Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 111–113why, one step back111## Philosophy112113 The Express philosophy is to provide small, robust tooling for HTTP servers, makingMerge tag '4.17.2'Douglas Christopher Wilsonbefore adoptionc7d528c
line 114why, one step back114 it a great solution for single page applications, websites, hybrids, or publicMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 115–117why, one step back115 HTTP APIs.116117 Express does not force you to use any specific ORM or template engine. With support for overdocs: visionmedia is now tj on GithubDouglas Christopher Wilsonbefore adoptione9539fc
line 118why, one step back118 14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 119–120why, one step back119 you can quickly craft your perfect framework.120docs: misc. tweaksFishrock123before adoption5f7a37e
line 121why, one step back121## ExamplesMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 122why, one step back122Merge tag '4.12.4'Douglas Christopher Wilsonbefore adoptionf90e045
line 123why, one step back123 To view the examples, clone the Express repo and install the dependencies:Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 124why, one step back124Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 125–126why, one step back125```console126$ git clone https://github.com/expressjs/express.git --depth 1Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 127–132why, one step back127$ cd express128$ npm install129```130131 Then run whichever example you want:132Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 133why, one step back133```consoledocs: misc. tweaksFishrock123before adoption5f7a37e
lines 134–135why, one step back134$ node examples/content-negotiation135```Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 136why, one step back136Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 137why, one step back137## ContributingMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 138why, one step back138Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 139–141why, one step back139 [![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.6'Douglas Christopher Wilsonbefore adoption6680132
line 142why, one step back142Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 143–157why, 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 Tests154155To run the test suite, first install the dependencies, then run `npm test`:156157```consoleMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 158why, one step back158$ npm installdocs: misc. tweaksFishrock123before adoption5f7a37e
line 159why, one step back159$ npm testMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 160–161why, one step back160```161Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 162why, one step back162## PeopleMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 163why, one step back163Merge tag '4.16.4'Douglas Christopher Wilsonbefore adoption302a615
line 164why, one step back164The original author of Express is [TJ Holowaychuk](https://github.com/tj)Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 165why, one step back165Merge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 166why, one step back166[List of all contributors](https://github.com/expressjs/express/graphs/contributors)Merge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
line 167why, one step back167Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 168–194why, one step back168### 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 back195* [bjohansebas](https://github.com/bjohansebas) - **Sebastian Beltran**Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 196–205why, one step back196* [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 back206* [IamLizu](https://github.com/IamLizu) - **S M Mahmudul Hasan** (he/him)Merge branch 'master' into 5.0ctcpipbefore adoptionc96c690
lines 207–242why, one step back207* [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>241242Merge tag '4.11.1'Douglas Christopher Wilsonbefore adoption8a5ecd3
line 243why, one step back243## LicenseMerge tag '3.16.6'Douglas Christopher Wilsonbefore adoption6680132
lines 244–245why, one step back244245 [MIT](LICENSE)docs: misc. tweaksFishrock123before adoption5f7a37e
line 246why, one step back246Merge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 247why, one step back247[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/express/master?label=windowsMerge tag '4.12.0'Douglas Christopher Wilsonbefore adoptionf6ec710
line 248why, one step back248[appveyor-url]: https://ci.appveyor.com/project/dougwilson/expressMerge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
line 249why, one step back249[coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/express/masterMerge tag '4.13.4'Douglas Christopher Wilsonbefore adoption7cafdb5
line 250why, one step back250[coveralls-url]: https://coveralls.io/r/expressjs/express?branch=masterMerge tag '4.19.0' into 5.xWes Toddbefore adoptione9f9aae
lines 251–258why, one step back251[github-actions-ci-image]: https://badgen.net/github/checks/expressjs/express/master?label=linux252[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/expressMerge tag '4.20.0' into 5.0Wes Toddbefore adoptione5feb9f
lines 259–260why, one step back259[ossf-scorecard-badge]: https://api.scorecard.dev/projects/github.com/expressjs/express/badge260[ossf-scorecard-visualizer]: https://ossf.github.io/scorecard-visualizer/#/projects/github.com/expressjs/expressMerge branch 'master' into 5.0ctcpipbefore adoptionc96c690
line 261why, one step back261[Code of Conduct]: https://github.com/expressjs/express/blob/master/Code-Of-Conduct.md