| Express.js | |
|---|---|
| Original author | TJ Holowaychuk |
| Developers | OpenJS Foundation and others |
| Initial release | 16 November 2010; 15 years ago (2010-11-16) |
| Stable release | 5.2.1 / December 1, 2025; 2 months ago[1] |
| Written in | JavaScript |
| Platform | Node.js |
| Type | Web framework |
| License | MIT License |
| Website | expressjs |
| Repository | |
Express.js, or simplyExpress, is aback endweb application framework forNode.js, released asfree and open-source software under theMIT License. It is designed for buildingweb applications andAPIs.[2] It has been called thede facto standard server framework forNode.js.[3]
The original author, TJ Holowaychuk, described it as aSinatra-inspired server,[4] meaning that it is relatively minimal with many features available as plugins. Express is the back-end component of popular development stacks like theMEAN, MERN or MEVN stack, together with theMongoDB database software and aJavaScript front-end framework or library.[5]
Express.js was founded by TJ Holowaychuk. The initial versions were created in early 2010, and milestone version 1 was released later that year.[6]
In June 2014, rights to manage the project were acquired byStrongLoop.[7] StrongLoop was acquired byIBM in September 2015;[8] in January 2016, IBM announced that it would place Express.js under the stewardship of theNode.js Foundation incubator.[9]
In July 2014, work began towards milestone version 5. After ten years of development it was released in October 2024.[10]
Express.js is used byFox Sports,PayPal,Uber andIBM.[13]
The following program will respond toHTTP GET requests with the text "Hi, your request has been received", and listen to the port the program is running on (in this case, port 2000).
// Importing the Express library.constexpress=require('express');// Initializing the app.constapp=express();// Getting the path request and sending the response with text.app.get('/',(req,res)=>{res.send('Hi, your request has been received');});// Listening on port 2000.app.listen(2000,()=>{console.log('listening at http://localhost:2000');});