koa-some
Weird some
middleware
NOTE: Implements shallow copying of koa ctx.response
which is not supported out of the koa box and done 'as is'. Acceptable only for simple scenarios.
Install
npm install koa-some
Use
some([a, b, c, ...])
Returns new middleware which select first one of passed.