express
express copied to clipboard
Fast, unopinionated, minimalist web framework for node.
As already discussed at https://github.com/expressjs/express/issues/3211 I'm making a PR to add some benchmarks. Imho, the most important thing to enlight is about the changing of request and response prototypes (twice...
The 'back' special case has been moved from `res.location()` to a new `req.back` getter. In the future, this will make it possible to redirect to a regular 'back' page.
This eliminates the only post-startup synchronous I/O in Express. In addition, this makes the view.lookup method non-private, intended to be used by view engines to resolve paths to partials, and,...
#2603 A simple change but it might be useful in some cases where we can write shorter code to reuse middleware in `app.param`
Keeping a separate namespace so that what's sent per-request is separate from long-lived configuration values.
In some cases it is useful to be able to overwrite the json replacer at response level, in the end it is something related to the response. This change also...
This pr fixes #2729 I've done the following: - [x] Added a new test that covers my changes - [x] Runned linter
While developing a session termination feature in our apps I noticed that a cookie set by our session middleware to maintain cookie expiration was kept in the response even though...
The goal is to use the JS Class version of code, which is more efficient long term. When using the CLASS based JS, in the app.js file sample below, an...