1 [![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)
3 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).
5 [![NPM Version][npm-image]][npm-url]
6 [![NPM Downloads][downloads-image]][downloads-url]
7 [![Linux Build][ci-image]][ci-url]
8 [![Windows Build][appveyor-image]][appveyor-url]
9 [![Test Coverage][coveralls-image]][coveralls-url]
12 const express = require('express')
15 app.get('/', function (req, res) {
16 res.send('Hello World')
24 This is a [Node.js](https://nodejs.org/en/) module available through the
25 [npm registry](https://www.npmjs.com/).
27 Before installing, [download and install Node.js](https://nodejs.org/en/download/).
28 Node.js 0.10 or higher is required.
30 If this is a brand new project, make sure to create a `package.json` first with
31 the [`npm init` command](https://docs.npmjs.com/creating-a-package-json-file).
33 Installation is done using the
34 [`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
40 Follow [our installing guide](http://expressjs.com/en/starter/installing.html)
46 * Focus on high performance
47 * Super-high test coverage
48 * HTTP helpers (redirection, caching, etc)
49 * View system supporting 14+ template engines
51 * Executable for generating applications quickly
55 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/expressjs/expressjs.com)]
56 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC
57 * [GitHub Organization](https://github.com/expressjs) for Official Middleware & Modules
58 * Visit the [Wiki](https://github.com/expressjs/express/wiki)
59 * [Google Group](https://groups.google.com/group/express-js) for discussion
60 * [Gitter](https://gitter.im/expressjs/express) for support and discussion
62 **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).
66 If you discover a security vulnerability in Express, please see [Security Policies and Procedures](Security.md).
70 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:
72 Install the executable. The executable's major version will match Express's:
75 $ npm install -g express-generator@4
81 $ express /tmp/foo && cd /tmp/foo
96 View the website at: http://localhost:3000
100 The Express philosophy is to provide small, robust tooling for HTTP servers, making
101 it a great solution for single page applications, websites, hybrids, or public
104 Express does not force you to use any specific ORM or template engine. With support for over
105 14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),
106 you can quickly craft your perfect framework.
110 To view the examples, clone the Express repo and install the dependencies:
113 $ git clone git://github.com/expressjs/express.git --depth 1
118 Then run whichever example you want:
121 $ node examples/content-negotiation
126 To run the test suite, first install the dependencies, then run `npm test`:
135 [Contributing Guide](Contributing.md)
139 The original author of Express is [TJ Holowaychuk](https://github.com/tj)
141 The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson)
143 [List of all contributors](https://github.com/expressjs/express/graphs/contributors)
149 [ci-image]: https://img.shields.io/github/workflow/status/expressjs/express/ci/master.svg?label=linux
150 [ci-url]: https://github.com/expressjs/express/actions?query=workflow%3Aci
151 [npm-image]: https://img.shields.io/npm/v/express.svg
152 [npm-url]: https://npmjs.org/package/express
153 [downloads-image]: https://img.shields.io/npm/dm/express.svg
154 [downloads-url]: https://npmcharts.com/compare/express?minimal=true
155 [appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows
156 [appveyor-url]: https://ci.appveyor.com/project/dougwilson/express
157 [coveralls-image]: https://img.shields.io/coveralls/expressjs/express/master.svg
158 [coveralls-url]: https://coveralls.io/r/expressjs/express?branch=master