express
express copied to clipboard
Fast, unopinionated, minimalist web framework for node.
Actually, in issue https://github.com/expressjs/express/issues/4593, I provided _Express_ the `import`ed view engine instance. I registered it as `"Eta"` (`".Eta"` internally), and _Express_ did not use it for `search.eta` (because it was...
1. I want to implement a long-polling model in my server (express.app). 2. I use a map to stored incoming response, waiting (about 60 seconds later) another request to finally...
See [discussion here](https://github.com/expressjs/express/pull/4835#discussion_r811355575). `app.cache`, `app.engines`, and `app.settings` are now created with `Object.create(null)` instead of `{}`. This also adds a test that `app.locals` is created the same way.
Before: ```js app.get('hasOwnProperty'); // => [Function: hasOwnProperty] app.enabled('hasOwnProperty'); // => true ``` After: ```js app.get('hasOwnProperty'); // => undefined app.enabled('hasOwnProperty'); // => false ``` See #4802 for more details. Similar to...
When there is no file extension defined, express will now try to use any extension that is registered with an engine. The default extension set by `app.set('view engine')` is still...
I have some special urls thats get mapped to local files like image50%.png. ``` app.get('/open/:path(*)', (req, res) => {}) ``` But it doesn't work because express automaticly calls decode_param. It...
It's getting incredibly late here, but I mocked up a quick example that demonstrates how to use `express` via an ESM module. I've been using ECMA modules for a little...
Hi, I know it is not a very standard header to support to, but it has been very hard to patch expressjs every time we need to use CloudFront in...
re: https://github.com/expressjs/express/issues/3951 Test plan: `npm test`
> When 5.0 is released it will support down to the LTS version at that time. _Originally posted by @dougwilson in https://github.com/expressjs/express/issues/2755#issuecomment-382499774_