middleware-async
Advanced tools
Comparing version
{ | ||
"name": "middleware-async", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "A handy tool to work with async/promise express middleware", | ||
"main": "index.js", | ||
"repository": "git@github.com:tranvansang/middleware-async.git", | ||
"repository": "github:tranvansang/middleware-async", | ||
"author": "Tran Sang <tranvansangk41@gmail.com>", | ||
@@ -8,0 +8,0 @@ "license": "MIT", |
@@ -71,3 +71,3 @@ # Async Middleware [](https://travis-ci.org/tranvansang/middleware-async) | ||
- `middlewaareAsync(middlware)`: returns a handler that covers error thrown or error that is rejected by handler via the `next` function. The next function is called at most once. | ||
- `asyncMiddleware(middlware)`: returns a handler that covers error thrown or error that is rejected by handler via the `next` function. The next function is called at most once. | ||
- `combineMiddlewares(list of handlers or list of list of handlers with any depth)`: combine many handlers into one handler. Very useful for testing | ||
@@ -74,0 +74,0 @@ You can combine your handlers like `combineMiddlewares([mdw1, mdw2], [[mdw3], [mdw4, [mdw5, mdw6]], mdw7], mdw8)`. The function will take care of expanding parameters. |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
28845
-0.05%