Jump to content
Wikipedia The Free Encyclopedia

Express.js

From Wikipedia, the free encyclopedia
JavaScript framework
Express.js
Original author TJ Holowaychuk
Developers OpenJS Foundation and others
Initial release16 November 2010; 14 years ago (2010年11月16日)
Stable release
5.1.0 / March 31, 2025; 6 months ago[1]  Edit this on Wikidata
Repository
Written inJavaScript
Platform Node.js
Type Web framework
License MIT License
Websiteexpressjs.com  Edit this on Wikidata

Express.js, or simply Express, is a back end web application framework for Node.js, released as free and open-source software under the MIT License. It is designed for building web applications and APIs.[2] It has been called the de facto standard server framework for Node.js.[3]

The original author, TJ Holowaychuk, described it as a Sinatra-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 the MEAN, MERN or MEVN stack, together with the MongoDB database software and a JavaScript front-end framework or library.[5]

History

[edit ]

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 by StrongLoop.[7] StrongLoop was acquired by IBM in September 2015;[8] in January 2016, IBM announced that it would place Express.js under the stewardship of the Node.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]

Features

[edit ]

Popularity

[edit ]

Express.js is used by Fox Sports, PayPal, Uber and IBM.[13]

Example

[edit ]

The following program will respond to HTTP 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');
});

See also

[edit ]

References

[edit ]
  1. ^ "Release 5.1.0". 31 March 2025. Retrieved 10 April 2025.
  2. ^ "Express.js home page".
  3. ^ Case study: How & why to build a consumer app with Node.js. VentureBeat.com.
  4. ^ Holowaychuck, TJ. "Express 1.0beta". Archived from the original on 6 July 2015.
  5. ^ "Mean.io: The Friendly & Fun Javascript Fullstack for your next web application". Archived from the original on 13 June 2019. Retrieved 15 July 2019.
  6. ^ "Version History". ExpressJS. Retrieved 8 October 2025.
  7. ^ "TJ Holowaychuk Passes Sponsorship of Express to StrongLoop". StrongLoop. Archived from the original on 11 October 2016. Retrieved 11 February 2016.
  8. ^ "IBM snaps up StrongLoop to add Node.js smarts to BlueMix". Infoworld. IDG. 10 September 2015. Retrieved 11 February 2016.
  9. ^ "Node.js Foundation to shepherd Express Web framework". Infoworld. IDG. 10 February 2016. Retrieved 11 February 2016.
  10. ^ "Introducing Express v5: A New Era for the Node.js Framework". ExpressJS. Retrieved 8 October 2025.
  11. ^ "Guide: Routing". ExpressJS. Retrieved 8 October 2025.
  12. ^ "Express Never Ending Support Launched by HeroDevs and Express.js". ExpressJS. Retrieved 8 October 2025.
  13. ^ "Companies using Express". expressjs.com. Retrieved 4 December 2018.
[edit ]
.NET
C++
ColdFusion
Common Lisp
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Rust
Scala
Smalltalk
Other languages

AltStyle によって変換されたページ (->オリジナル) /