express-async-await's People
express-async-await's Issues
How can apply wrap for express Router
Hi I tried this, but does't work, could you pls help
// routers/user.js
var express = require('express');
var router = express.Router();
router.get('/users', async func1, async func2);
module.exports = router;
// server.js
let expressaa = require('./lib/wrapAsyncAwait')
let express = require('express')
let app = expressaa(express())
app.use('/', require('./routers/user'));
Deprecate the npm package as well
I was very close to installing this package, but then found this repo and saw that this is deprecated. Could you also put a deprecation notice on the npm package as well? This is going to be really helpful.
package link: https://www.npmjs.com/package/express-async-await
Missing wrapper for "all" express method
Hi,
methods = require('http').METHODS;
does not includes "all"
so router.all(...)
does not forward errors
please consider to add it manually (methods.push("all")
).
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.