| layout | home |
|---|---|
| title | Express - Node.js web application framework |
| description | Express is a fast, unopinionated, minimalist web framework for Node.js, providing a robust set of features for web and mobile applications. |
| menu | home |
| redirect_from | /en/index.html |
Fast, unopinionated, minimalist web framework for Node.js
$ npm install express --saveconst express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
}){% if site.announcement %}
Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
With a myriad of HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy.
Express provides a thin layer of fundamental web application features, without obscuring Node.js features that you know and love.
Express is a lightweight and flexible routing framework with minimal core features
meant to be augmented through the use of Express middleware modules.