deps: path-to-regexp@0.1.6
[express.git] / Readme.md
blob8da83a517e14624b7fb35c20cd8b0416531b7bd6
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][travis-image]][travis-url]
8   [![Windows Build][appveyor-image]][appveyor-url]
9   [![Test Coverage][coveralls-image]][coveralls-url]
11 ```js
12 var express = require('express')
13 var app = express()
15 app.get('/', function (req, res) {
16   res.send('Hello World')
19 app.listen(3000)
20 ```
22 ## Installation
24 ```bash
25 $ npm install express
26 ```
28 ## Features
30   * Robust routing
31   * Focus on high performance
32   * Super-high test coverage
33   * HTTP helpers (redirection, caching, etc)
34   * View system supporting 14+ template engines
35   * Content negotiation
36   * Executable for generating applications quickly
38 ## Docs & Community
40   * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/strongloop/expressjs.com)]
41   * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC
42   * [Github Organization](https://github.com/expressjs) for Official Middleware & Modules
43   * Visit the [Wiki](https://github.com/strongloop/express/wiki)
44   * [Google Group](https://groups.google.com/group/express-js) for discussion
45   * [Русскоязычная документация](http://jsman.ru/express/)
46   * [한국어 문서](http://expressjs.kr) - [[website repo](https://github.com/Hanul/expressjs.kr)]
48 **PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/strongloop/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/strongloop/express/wiki/New-features-in-4.x).
50 ## Quick Start
52   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:
54   Install the executable. The executable's major version will match Express's:
56 ```bash
57 $ npm install -g express-generator@4
58 ```
60   Create the app:
62 ```bash
63 $ express /tmp/foo && cd /tmp/foo
64 ```
66   Install dependencies:
68 ```bash
69 $ npm install
70 ```
72   Start the server:
74 ```bash
75 $ npm start
76 ```
78 ## Philosophy
80   The Express philosophy is to provide small, robust tooling for HTTP servers, making
81   it a great solution for single page applications, web sites, hybrids, or public
82   HTTP APIs.
84   Express does not force you to use any specific ORM or template engine. With support for over
85   14 template engines via [Consolidate.js](https://github.com/tj/consolidate.js),
86   you can quickly craft your perfect framework.
88 ## Examples
90   To view the examples, clone the Express repo and install the dependencies:
92 ```bash
93 $ git clone git://github.com/strongloop/express.git --depth 1
94 $ cd express
95 $ npm install
96 ```
98   Then run whichever example you want:
100 ```bash
101 $ node examples/content-negotiation
104 ## Tests
106   To run the test suite, first install the dependencies, then run `npm test`:
108 ```bash
109 $ npm install
110 $ npm test
113 ## People
115 The original author of Express is [TJ Holowaychuk](https://github.com/tj) [![TJ's Gratipay][gratipay-image-visionmedia]][gratipay-url-visionmedia]
117 The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson) [![Doug's Gratipay][gratipay-image-dougwilson]][gratipay-url-dougwilson]
119 [List of all contributors](https://github.com/strongloop/express/graphs/contributors)
121 ## License
123   [MIT](LICENSE)
125 [npm-image]: https://img.shields.io/npm/v/express.svg
126 [npm-url]: https://npmjs.org/package/express
127 [downloads-image]: https://img.shields.io/npm/dm/express.svg
128 [downloads-url]: https://npmjs.org/package/express
129 [travis-image]: https://img.shields.io/travis/strongloop/express/master.svg?label=linux
130 [travis-url]: https://travis-ci.org/strongloop/express
131 [appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/express/master.svg?label=windows
132 [appveyor-url]: https://ci.appveyor.com/project/dougwilson/express
133 [coveralls-image]: https://img.shields.io/coveralls/strongloop/express/master.svg
134 [coveralls-url]: https://coveralls.io/r/strongloop/express?branch=master
135 [gratipay-image-visionmedia]: https://img.shields.io/gratipay/visionmedia.svg
136 [gratipay-url-visionmedia]: https://gratipay.com/visionmedia/
137 [gratipay-image-dougwilson]: https://img.shields.io/gratipay/dougwilson.svg
138 [gratipay-url-dougwilson]: https://gratipay.com/dougwilson/