Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 649 Bytes

readme.md

File metadata and controls

21 lines (13 loc) · 649 Bytes

koa-some

Build Status npm version License: MIT

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.