expressjs/express


Fast, unopinionated, minimalist web framework for node.

https://expressjs.com

License: MIT

Language: JavaScript

Keywords: express, javascript, nodejs, server


Express Logo

Fast, unopinionated, minimalist web framework for node.

NPM Version NPM Downloads Linux Build Windows Build Test Coverage

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.

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.

Security Issues

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

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, web sites, 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

Tests

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

$ npm install
$ npm test

Contributing

Contributing Guide

People

The original author of Express is TJ Holowaychuk

The current lead maintainer is Douglas Christopher Wilson

List of all contributors

License

MIT

Project Statistics

Sourcerank 26
Repository Size 8.44 MB
Stars 44,606
Forks 7,485
Watchers 1,832
Open issues 168
Dependencies 48
Contributors 246
Tags 279
Created
Last updated
Last pushed

Top Contributors See all

TJ Holowaychuk Douglas Wilson jongleberry Roman Shtylman Aaron Heckmann Gareth Jones Ciaran Jessup Robert Sköld Michael Ahlers Blake Embrey Jamie Barton Guillermo Rauch Greg Methvin riadh chtara Fernando Silveira Owen Luke Jérémy Lal chainhelen Eduardo Sorribas Dav Glass

Packages Referencing this Repo

mapake
Fast, unopinionated, minimalist web framework
Latest release 4.17.1 - Published - 44.6K stars
star-express
Fast, unopinionated, minimalist web framework
Latest release 4.16.4 - Published - 44.6K stars
@df315/df_tools
Fast, unopinionated, minimalist web framework
Latest release 4.16.4 - Published - 44.6K stars
@protonlab/express
Fast, unopinionated, minimalist web framework
Latest release 4.16.4 - Published - 44.6K stars
crawly-express
Fast, unopinionated, minimalist web framework
Latest release 4.99.102 - Updated - 44.6K stars
zztest_module
Fast, unopinionated, minimalist web framework
Latest release 4.13.4 - Updated - 44.6K stars
dnachoose
Fast, unopinionated, minimalist web framework
Latest release 4.16.3 - Published - 44.6K stars
sahilm
Fast, unopinionated, minimalist web framework
Latest release 4.16.3 - Published - 44.6K stars
webpack-dev-boilerplate
Boilerplate for create project with webpack build and dev server
Latest release 1.0.0 - Published - 44.6K stars
mynodess
Fast, unopinionated, minimalist web framework
Latest release 4.13.3 - Published - 44.6K stars
artlineup_node_libs
Node Libraries shared between stuff
Latest release 4.16.2 - Published - 44.6K stars
express5
Fast, unopinionated, minimalist web framework
Latest release 5.0.0-alpha.1 - Published - 44.6K stars
ih-express
Sinatra inspired web development framework
Latest release 3.0.0-rc5 - Published - 44.6K stars
audio-text
Fast, unopinionated, minimalist web framework
Latest release 0.0.1 - Published - 44.6K stars
aruns
Fast, unopinionated, minimalist web framework
Latest release 1.1.1 - Published - 44.6K stars
sudhanshu
Fast, unopinionated, minimalist web framework
Latest release 4.13.3 - Published - 44.6K stars
varsha
Fast, unopinionated, minimalist web framework
Latest release 4.13.3 - Published - 44.6K stars
bka14
Fast, unopinionated, minimalist web framework
Latest release 4.13.3 - Published - 44.6K stars
josan
Fast, unopinionated, minimalist web framework
Latest release 4.13.3 - Published - 44.6K stars
tisry
Fast, unopinionated, minimalist web framework
Latest release 4.11.2 - Published - 44.6K stars

Recent Tags See all

4.17.1 May 26, 2019
4.17.0 May 17, 2019
5.0.0-alpha.7 October 27, 2018
4.16.4 October 11, 2018
4.16.3 March 12, 2018
4.16.2 October 10, 2017
4.16.1 September 29, 2017
4.16.0 September 28, 2017
5.0.0-alpha.6 September 25, 2017
4.15.5 September 25, 2017
4.15.4 August 07, 2017
4.15.3 May 17, 2017
5.0.0-alpha.5 March 06, 2017
4.15.2 March 06, 2017
4.15.1 March 06, 2017

Interesting Forks See all

express-monocle/express-monocle
A development server based on Express for debugging your server-side routes
JavaScript - Last pushed - 9 stars - 3 forks
VagrantStory/express
Fast, unopinionated, minimalist web framework for node.
JavaScript - Updated - 4 stars
addyosmani/express
Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple
JavaScript - MIT - Updated - 4 stars - 1 forks
cowboy/express
Sinatra inspired web development framework for node -- insanely fast, flexible, and sexy
JavaScript - MIT - Updated - 4 stars - 1 forks
eee-c/express
Tracking fork to support unstable node (e.g. 0.5) -- very unstable, not affiliated with the very...
JavaScript - MIT - Last pushed - 3 stars - 1 forks

Something wrong with this page? Make a suggestion

Last synced: 2019-07-11 00:15:49 UTC

Login to resync this repository