Expressed: A fluent wrapper around expressJs
Adds support to promises!
- Don't be opinionated like
express-as-promised. Errors call
nextinstead of returning a value. You can then handle the error however you want. For example, you may want to sanitize the error before sending it over to the client.
- Easy to understand and bypass. In some cases you may want to escape the wrapper. This library makes it easy to do.
- Don't swap methods on the express instance, this could break functionality in some way in the long term. Instead an object is created which hands over arguments down to express.
- Should this support streams as well? hmm.
- Generator Support?