I hereby claim:
- I am poveden on github.
- I am jpoveda (https://keybase.io/jpoveda) on keybase.
- I have a public key ASCz_TwcaPncU30ACVwuHUOJiyNS_x-W4wcCJZYpAcYwkwo
To claim this, I am signing this object:
/** | |
* Simple wrapper for promise-based Express.js middlewares. | |
* @param {function(req, res): Promise<void>} asyncHandler The promise-based middleware to wrap. | |
* @returns {function(req, res, next)} A middleware that can be passed to Express.js. | |
* @example | |
* app.use('/', asyncWrapper(async (req, res) => { res.send('Hello!'); })) | |
*/ | |
function asyncWrapper(asyncHandler) { | |
return (req, res, next) => { | |
(async () => { |
/** | |
* Outbound proxy helper library. | |
* @module lib/proxy-helper | |
*/ | |
// Reference: http://stackoverflow.com/a/29738070/400347 | |
"use strict"; | |
let defaultOverrideHosts = ['localhost', '127.0.0.1']; |
I hereby claim:
To claim this, I am signing this object: