Skip to content

uNmAnNeR/koa-some

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.