tunnckoCore / koa-ip-filter

koa middleware to filter request IPs or custom ID with glob patterns, array, string, regexp or matcher function. Support custom 403 Forbidden message and custom ID.
http://j.mp/1Q2eR4j
MIT License
24 stars 1 forks source link

Support Koa v2 #7

Open jaydenseric opened 7 years ago

jaydenseric commented 7 years ago

Koa v2 warning:

Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migration.md
tunnckoCore commented 7 years ago

yea, i know that. use koa-convert to stop warnings