4.18.1 • Published 28 days ago

express v4.18.1

Weekly downloads
16,877,330
License
MIT
Repository
github
Last release
28 days ago

Express Logo

Fast, unopinionated, minimalist web framework for node.

NPM Version NPM Install Size NPM Downloads

const express = require('express')
const app = express()

app.get('/', function (req, res) {
  res.send('Hello World')
})

app.listen(3000)

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

If this is a brand new project, make sure to create a package.json first with the npm init command.

Installation is done using the npm install command:

$ npm install express

Follow our installing guide for more information.

Features

  • Robust routing
  • Focus on high performance
  • Super-high test coverage
  • HTTP helpers (redirection, caching, etc)
  • View system supporting 14+ template engines
  • Content negotiation
  • Executable for generating applications quickly

Docs & Community

PROTIP Be sure to read Migrating from 3.x to 4.x as well as New features in 4.x.

Quick Start

The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:

Install the executable. The executable's major version will match Express's:

$ npm install -g express-generator@4

Create the app:

$ express /tmp/foo && cd /tmp/foo

Install dependencies:

$ npm install

Start the server:

$ npm start

View the website at: http://localhost:3000

Philosophy

The Express philosophy is to provide small, robust tooling for HTTP servers, making it a great solution for single page applications, websites, hybrids, or public HTTP APIs.

Express does not force you to use any specific ORM or template engine. With support for over 14 template engines via Consolidate.js, you can quickly craft your perfect framework.

Examples

To view the examples, clone the Express repo and install the dependencies:

$ git clone git://github.com/expressjs/express.git --depth 1
$ cd express
$ npm install

Then run whichever example you want:

$ node examples/content-negotiation

Contributing

Linux Build Windows Build Test Coverage

The Express.js project welcomes all constructive contributions. Contributions take many forms, from code for bug fixes and enhancements, to additions and fixes to documentation, additional tests, triaging incoming pull requests and issues, and more!

See the Contributing Guide for more technical details on contributing.

Security Issues

If you discover a security vulnerability in Express, please see Security Policies and Procedures.

Running Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm install
$ npm test

People

The original author of Express is TJ Holowaychuk

The current lead maintainer is Douglas Christopher Wilson

List of all contributors

License

MIT

webpack-dev-server@chjtickets/commonverdaccio-okta-authtextsddddddddsworkswacker@lpecom/commonrandom-wrapperpuzzle-frameworkpuzzle-framework-lite@saasxx/express-adapter@saasxx/fc-adapter@saasxx/lambda-adapter@saasxx/scf-adapter@saasxx/vercel-adapter@snote/local-api@sparkdev/puzzle-framework@sparkdev/wemeet-puzzle@sotaoi/oauth2-express@dudakovict-ticketing/common@easy-express/auth0@easy-express/db@easy-express/graphql@easy-express/td-ameritrade@easy-express/typeormrobust-express@pr-common/commonquery-xmlfeedquick-expreplicatio-appreplication-appresuable-component-htmlricochet-js@mathigon/dev-server@mathigon/textbooks-server@puzzleframework/lite@gakkytickets/common@ethanol/nest-lib-test@halon/web-ui@jworks/appchinjowwchinjow@jaydubb12/lightswitch-corepratech-middleware-authorization@labdigital/commercetools-node-mockvuedragdropuploadimagesnpmtest-8397teach_and_learndocuments-service-apiprimewinteralerts-controllercharles-local-map-serverdemogameartesanauthserver-123@sh-jbook/local-apideepnode-12gtourfsrouter-expresshenry-express-samplehttp-redirect-to-httpslib-parser-bodynative-stream-wa-automatenobelprizenpm-test1121lou-dbcra-template-mern-cra-templatedd-connector-commonsdotclub-admin-web-backendduely-graphqlgwssijazzgoo_node_studypath-error-backendannmpackagethatiamtestinganditishardpipeboardpipeboard-stablepipeboard-v0.1.1virtuellesburgerburozfblog@azztik-it/library@qwenny/coredemo-lbeckman314mbdjsmusic-deto.jsnpmtestyeomnode-express-mongoose-boilerplatekibo-local-server-tempkibo-local-server-temp3kibo-local-server-temp4kibo-local-server-temp5kibo-theme-local-serverbeepack@monsid/mern-next@kaiosid/lib-api-graphql@link9977/commonopen-html-parserrepositorycodegenmelirfannpmtest-001100seeql-beta
4.18.1

28 days ago

4.18.0

1 month ago

5.0.0-beta.1

3 months ago

4.17.2

5 months ago

4.17.3

3 months ago

5.0.0-alpha.8

2 years ago

4.17.1

3 years ago

4.17.0

3 years ago

5.0.0-alpha.7

4 years ago

4.16.4

4 years ago

4.16.3

4 years ago

4.16.2

5 years ago

4.16.1

5 years ago

4.16.0

5 years ago

5.0.0-alpha.6

5 years ago

4.15.5

5 years ago

4.15.4

5 years ago

4.15.3

5 years ago

5.0.0-alpha.5

5 years ago

4.15.2

5 years ago

4.15.1

5 years ago

5.0.0-alpha.4

5 years ago

4.15.0

5 years ago

5.0.0-alpha.3

5 years ago

4.14.1

5 years ago

4.14.0

6 years ago

4.13.4

6 years ago

4.13.3

7 years ago

4.13.2

7 years ago

3.21.2

7 years ago

5.0.0-alpha.2

7 years ago

4.13.1

7 years ago

3.21.1

7 years ago

4.13.0

7 years ago

3.21.0

7 years ago

4.12.4

7 years ago

3.20.3

7 years ago

4.12.3

7 years ago

3.20.2

7 years ago

4.12.2

7 years ago

4.12.1

7 years ago

3.20.1

7 years ago

4.12.0

7 years ago

3.20.0

7 years ago

4.11.2

7 years ago

3.19.2

7 years ago

4.11.1

7 years ago

3.19.1

7 years ago

4.11.0

7 years ago

4.10.8

7 years ago

3.19.0

7 years ago

4.10.7

7 years ago

4.10.6

7 years ago

3.18.6

7 years ago

3.18.5

7 years ago

4.10.5

7 years ago

4.10.4

8 years ago

4.10.3

8 years ago

3.18.4

8 years ago

4.10.2

8 years ago

3.18.3

8 years ago

5.0.0-alpha.1

8 years ago

4.10.1

8 years ago

3.18.2

8 years ago

4.10.0

8 years ago

3.18.1

8 years ago

3.18.0

8 years ago

4.9.8

8 years ago

3.17.8

8 years ago

4.9.7

8 years ago

4.9.6

8 years ago

3.17.7

8 years ago

3.17.6

8 years ago

4.9.5

8 years ago

3.17.5

8 years ago

4.9.4

8 years ago

3.17.4

8 years ago

4.9.3

8 years ago

3.17.3

8 years ago

4.9.2

8 years ago

4.9.1

8 years ago

3.17.2

8 years ago

4.9.0

8 years ago

3.17.1

8 years ago

3.17.0

8 years ago

4.8.8

8 years ago

3.16.10

8 years ago

4.8.7

8 years ago

3.16.9

8 years ago

4.8.6

8 years ago

3.16.8

8 years ago

4.8.5

8 years ago

3.16.7

8 years ago

4.8.4

8 years ago

3.16.6

8 years ago

3.16.5

8 years ago

4.8.3

8 years ago

3.16.4

8 years ago

3.16.3

8 years ago

4.8.2

8 years ago

3.16.2

8 years ago

4.8.1

8 years ago

3.16.1

8 years ago

4.8.0

8 years ago

3.16.0

8 years ago

4.7.4

8 years ago

3.15.3

8 years ago

4.7.3

8 years ago

4.7.2

8 years ago

3.15.2

8 years ago

4.7.1

8 years ago

3.15.1

8 years ago

4.7.0

8 years ago

3.15.0

8 years ago

4.6.1

8 years ago

4.6.0

8 years ago

3.14.0

8 years ago

4.5.1

8 years ago

4.5.0

8 years ago

3.13.0

8 years ago

4.4.5

8 years ago

3.12.1

8 years ago

3.12.0

8 years ago

4.4.4

8 years ago

3.11.0

8 years ago

4.4.3

8 years ago

3.10.5

8 years ago

4.4.2

8 years ago

3.10.4

8 years ago

3.10.3

8 years ago

3.10.2

8 years ago

3.10.1

8 years ago

3.10.0

8 years ago

4.4.1

8 years ago

4.4.0

8 years ago

3.9.0

8 years ago

4.3.2

8 years ago

3.8.1

8 years ago

4.3.1

8 years ago

4.3.0

8 years ago

3.8.0

8 years ago

3.7.0

8 years ago

4.2.0

8 years ago

3.6.0

8 years ago

4.1.2

8 years ago

3.5.3

8 years ago

4.1.1

8 years ago

4.1.0

8 years ago

3.5.2

8 years ago

4.0.0

8 years ago

3.5.1

8 years ago

4.0.0-rc4

8 years ago

4.0.0-rc3

8 years ago

3.5.0

8 years ago

4.0.0-rc2

8 years ago

4.0.0-rc1

8 years ago

3.4.8

8 years ago

3.4.7

8 years ago

3.4.6

8 years ago

3.4.5

9 years ago

3.4.4

9 years ago

3.4.3

9 years ago

3.4.2

9 years ago

3.4.1

9 years ago

3.4.0

9 years ago

3.3.8

9 years ago

3.3.7

9 years ago

3.0.0-rc5

9 years ago

3.0.0-rc4

9 years ago

3.0.0-rc3

9 years ago

3.0.0-rc2

9 years ago

3.0.0-rc1

9 years ago

3.0.0-beta7

9 years ago

3.0.0-beta6

9 years ago

3.0.0-beta4

9 years ago

3.0.0-beta3

9 years ago

3.0.0-beta2

9 years ago

3.0.0-beta1

9 years ago

3.0.0-alpha5

9 years ago

3.0.0-alpha4

9 years ago

3.0.0-alpha3

9 years ago

3.0.0-alpha2

9 years ago

3.0.0-alpha1

9 years ago

2.0.0-rc3

9 years ago

2.0.0-rc2

9 years ago

2.0.0-rc

9 years ago

2.0.0-beta3

9 years ago

2.0.0-beta2

9 years ago

2.0.0-beta

9 years ago

1.0.0-rc4

9 years ago

1.0.0-rc3

9 years ago

1.0.0-rc2

9 years ago

1.0.0-rc

9 years ago

1.0.0-beta2

9 years ago

1.0.0-beta

9 years ago

3.3.6

9 years ago

3.3.5

9 years ago

3.3.4

9 years ago

3.3.3

9 years ago

3.3.2

9 years ago

3.3.1

9 years ago

3.3.0

9 years ago

3.2.6

9 years ago

3.2.5

9 years ago

3.2.4

9 years ago

3.2.3

9 years ago

3.2.2

9 years ago

3.2.1

9 years ago

3.2.0

9 years ago

3.1.2

9 years ago

3.1.1

9 years ago

3.1.0

9 years ago

3.0.6

9 years ago

3.0.5

9 years ago

3.0.4

9 years ago

3.0.3

10 years ago

3.0.2

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

3.0.0rc5

10 years ago

3.0.0rc4

10 years ago

3.0.0rc3

10 years ago

3.0.0rc2

10 years ago

3.0.0rc1

10 years ago

3.0.0beta7

10 years ago

3.0.0beta6

10 years ago

2.5.11

10 years ago

3.0.0beta5

10 years ago

3.0.0beta4

10 years ago

2.5.10

10 years ago

3.0.0beta3

10 years ago

3.0.0beta2

10 years ago

3.0.0beta1

10 years ago

3.0.0alpha5

10 years ago

3.0.0alpha4

10 years ago

3.0.0alpha3

10 years ago

3.0.0alpha2

10 years ago

3.0.0alpha1

10 years ago

2.5.9

10 years ago

2.5.8

10 years ago

2.5.7

10 years ago

2.5.6

10 years ago

2.5.5

10 years ago

2.5.4

10 years ago

2.5.3

10 years ago

2.5.2

10 years ago

2.5.1

11 years ago

2.5.0

11 years ago

2.4.7

11 years ago

2.4.6

11 years ago

2.4.5

11 years ago

2.4.4

11 years ago

2.4.3

11 years ago

2.4.2

11 years ago

2.4.1

11 years ago

2.4.0

11 years ago

2.3.12

11 years ago

2.3.11

11 years ago

2.3.10

11 years ago

2.3.9

11 years ago

2.3.8

11 years ago

2.3.7

11 years ago

2.3.6

11 years ago

2.3.5

11 years ago

2.3.4

11 years ago

2.3.3

11 years ago

2.3.2

11 years ago

2.3.1

11 years ago

2.3.0

11 years ago

2.2.2

11 years ago

2.2.1

11 years ago

2.2.0

11 years ago

2.1.1

11 years ago

2.1.0

11 years ago

2.0.0

11 years ago

2.0.0rc3

11 years ago

2.0.0rc2

11 years ago

2.0.0rc

11 years ago

2.0.0beta3

11 years ago

2.0.0beta2

11 years ago

2.0.0beta

11 years ago

1.0.8

11 years ago

2.0.0-pre

11 years ago

1.0.7

11 years ago

1.0.6

11 years ago

1.0.5

11 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

1.0.0rc4

11 years ago

1.0.0rc3

11 years ago

1.0.0rc2

11 years ago

1.0.0rc

11 years ago

1.0.0beta2

11 years ago

1.0.0beta

11 years ago

0.14.1

11 years ago

0.14.0

11 years ago