Skip to content
Myr

docs: cleanup readme, update package description

Before adoption: this commit came in with the history the project adopted, so no landing records it.

closes #2210

authored by Fishrock123 · committed by Douglas Christopher Wilson · parent e6eeec3 · Browse files · 2 files+63 added−49 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+63 added−49 removed

  • other:+63 added−49 removed

2 files+63 added−49 removed

modified:package.json+1 added-1 removed
modified:Readme.md+62 added-48 removed
1[![express logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](http://expressjs.com/)1[![Express Logo](https://i.cloudup.com/zfY6lL7eFa-3000x3000.png)](https://expressjs.com/)23 Fast, unopinionated, minimalist web framework for [node](http://nodejs.org).3 Fast, unopinionated, minimalist web framework for [node](https://nodejs.org).45 [![NPM version](https://badge.fury.io/js/express.svg)](http://badge.fury.io/js/express)5 [![NPM Version](https://badge.fury.io/js/express.svg)](https://badge.fury.io/js/express)6 [![Build Status](https://travis-ci.org/visionmedia/express.svg?branch=master)](https://travis-ci.org/visionmedia/express)7 [![Coverage Status](https://img.shields.io/coveralls/visionmedia/express.svg)](https://coveralls.io/r/visionmedia/express)8 [![Gittip](http://img.shields.io/gittip/visionmedia.svg)](https://www.gittip.com/visionmedia/)8 [![Gittip](https://img.shields.io/gittip/visionmedia.svg)](https://www.gittip.com/visionmedia/)910```js11var express = require('express');12var app = express();11var express = require('express')12var app = express()1314app.get('/', function(req, res){15 res.send('Hello World');16});14app.get('/', function (req, res) {15 res.send('Hello World')16})1718app.listen(3000);18app.listen(3000)19```2021**PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/visionmedia/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/visionmedia/express/wiki/New-features-in-4.x).21 **PROTIP** Be sure to read [Migrating from 3.x to 4.x](https://github.com/visionmedia/express/wiki/Migrating-from-3.x-to-4.x) as well as [New features in 4.x](https://github.com/visionmedia/express/wiki/New-features-in-4.x).2223## Installation23### Installation2425```bash25 $ npm install express26$ npm install express27```2829## Quick Start3029 The quickest way to get started with express is to utilize the executable [`express(1)`](http://github.com/expressjs/generator) to generate an application as shown below:30 31 Install the executable. The executable's major version will match Express's:32 33 $ npm install -g express-generator@331 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:3235 Create the app:33 Install the executable. The executable's major version will match Express's:3437 $ express /tmp/foo && cd /tmp/foo35```bash36$ npm install -g express-generator@437```3839 Install dependencies:39 Create the app:4041 $ npm install41```bash42$ express /tmp/foo && cd /tmp/foo43```4443 Start the server:45 Install dependencies:4645 $ npm start47```bash48$ npm install49```5051 Start the server:5253```bash54$ npm start55```5657## Features5859 * Robust routing60 * HTTP helpers (redirection, caching, etc)
9 unmodified lines
70 it a great solution for single page applications, web sites, hybrids, or public71 HTTP APIs.7273 Express does not force you to use any specific ORM or template engine. With support for over64 14 template engines via [Consolidate.js](http://github.com/visionmedia/consolidate.js),74 14 template engines via [Consolidate.js](https://github.com/visionmedia/consolidate.js),75 you can quickly craft your perfect framework.7677## More Information7869 * [Website and Documentation](http://expressjs.com/) stored at [visionmedia/expressjs.com](https://github.com/visionmedia/expressjs.com)70 * Join #express on freenode71 * [Google Group](http://groups.google.com/group/express-js) for discussion72 * Follow [tjholowaychuk](http://twitter.com/tjholowaychuk) and [defunctzombie](https://twitter.com/defunctzombie) on twitter for updates73 * Visit the [Wiki](http://github.com/visionmedia/express/wiki)79 * [Website and Documentation](http://expressjs.com/) - [[website repo](https://github.com/visionmedia/expressjs.com)]80 * [Github Organization](https://github.com/expressjs) for Official Middleware & Modules81 * [#express](https://webchat.freenode.net/?channels=express) on freenode IRC82 * Visit the [Wiki](https://github.com/visionmedia/express/wiki)83 * [Google Group](https://groups.google.com/group/express-js) for discussion84 * [Русскоязычная документация](http://jsman.ru/express/)85 * Run express examples [online](https://runnable.com/express)8687## Viewing Examples8879Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:89 Clone the Express repo, then install the dev dependencies to install all the example / test suite dependencies:9091```bash81 $ git clone git://github.com/visionmedia/express.git --depth 182 $ cd express83 $ npm install92$ git clone git://github.com/visionmedia/express.git --depth 193$ cd express94$ npm install95```9685Then run whichever tests you want:97 Then run whichever example you want:9899 $ node examples/content-negotiation10089You can also view live examples here:101 You can also view live examples here:10291<a href="https://runnable.com/express" target="_blank"><img src="https://runnable.com/external/styles/assets/runnablebtn.png" style="width:67px;height:25px;"></a>103 <a href="https://runnable.com/express" target="_blank"><img src="https://runnable.com/external/styles/assets/runnablebtn.png" style="width:67px;height:25px;"></a>104105## Running Tests10695To run the test suite, first invoke the following command within the repo, installing the development dependencies:107 To run the test suite, first invoke the following command within the repo, installing the development dependencies:108109```bash97 $ npm install110$ npm install111```11299Then run the tests:113 Then run the tests:114101```sh115```bash116$ npm test117```118105## Contributors106 107 Author: [TJ Holowaychuk](http://github.com/visionmedia) 108 Lead Maintainer: [Roman Shtylman](https://github.com/defunctzombie) 109 Contributors: https://github.com/visionmedia/express/graphs/contributors 119### Contributors120111## License121 * Author: [TJ Holowaychuk](https://github.com/visionmedia)122 * Lead Maintainer: [Douglas Christopher Wilson](https://github.com/dougwilson)123 * [All Contributors](https://github.com/visionmedia/express/graphs/contributors)124113MIT125### License126127 [MIT](LICENSE)