expressjs.com
expressjs.com copied to clipboard
Hi, We developed an authorization (authz) middleware for Expresss called ``casbin-express-authz`` (https://github.com/node-casbin/express-authz) based on Casbin (https://casbin.org/), a cross-language authorization library project. For Node.js, our main library: https://github.com/casbin/node-casbin got certain popularity....
# Motivation In [Process managers for Express apps](https://expressjs.com/en/advanced/pm.html) the first section on the page recommends using [forever](https://www.npmjs.com/package/forever). This was a great recommendation a couple years ago, but unfortunately this package...
The instance function `router(req, res, [next])` I can't find documented in the API docs. We should get it listed there and documented, somewhere in the http://expressjs.com/en/4x/api.html#router section. The same docs...
Following up on @wesleytodd 's comment https://github.com/expressjs/expressjs.com/pull/1103#issuecomment-586562680 > ...move most of this content off of the website sometime and into something more like an "awesome list". It is tough to...
The current documentation responds to `http:` requests. It would improve security if it would redirect to the `https:` equivalent instead
Currently some Response functions return the Response. These include `response.send()`, `response.json()` and some others. Why do those functions return Response, but others like `response.sendFile()` and `response.render()` don't? Currently I am...
Hey all, I'm using Safari 10.1.2 (12603.3.8) macOS, and when you select menu items in the API reference sidebar it goes to a completely different item. In Chrome macOS it's...
Comment in #824 : > let's follow up with some fixes to this example in general. For example, that comment right above is very confusingly worded.
From #701: I think the description of the path & callback arguments is also applicable to `router.all`, `router.METHOD`, and `router.use`, but I wasn't 100% sure. Since the method signatures (in...
Per #476, let's revise/replace http://expressjs.com/guide/database-integration.html to be more helpful, without delving into specifics of various ORMs. From that issue: > what we need is documentation to show how to glue...