express
Fast, unopinionated, minimalist web framework for Node.js.
When to Use
- Build web servers or APIs with express
When NOT to Use
- Projects using Python or TypeScript (different ecosystem)
Quick Start
Install
npm install express
Basic Usage
npm install -g express-generator@4
express /tmp/foo && cd /tmp/foo
npm install
Key Features
- Robust routing
- Focus on high performance
- Super-high test coverage
- HTTP helpers (redirection, caching, etc)
- View system supporting 14+ template engines
Examples
To view the examples, clone the Express repository:
git clone https://github.com/expressjs/express.git --depth 1 && cd express
Then install the dependencies:
Then run whichever example you want:
node examples/content-negotiation
Project Info
- Language: JavaScript
- License: MIT
- Tests: Yes
- Key dependencies: accepts, body-parser, content-disposition, content-type, cookie, cookie-signature, debug, depd
File Structure
├── examples/
│ ├── auth/
│ ├── content-negotiation/
│ ├── cookie-sessions/
│ ├── cookies/
│ ├── downloads/
│ ├── ejs/
│ ├── error/
│ ├── error-pages/
│ ├── hello-world/
│ ├── markdown/
│ ├── multi-router/
│ ├── mvc/
│ ├── online/
│ ├── params/
│ ├── resource/
│ ├── route-map/
│ ├── route-middleware/
│ ├── route-separation/
│ ├── search/
Source: NeuZhou/repo2skill — distributed by TomeVault.