fusepilot / koa-if

Conditionally run middleware in Koa
3 stars 3 forks source link

Add support for Koa@1 #1

Open francisbrito opened 8 years ago

francisbrito commented 8 years ago

Hey,

Thanks for this awesome package! I find myself enabling Koa middleware based on a request condition a lot and koa-if would make it a breeze. But the lack of support for koa@1 makes it impossible for me to use it. Have you considered providing support for koa@1, if so, are you adding it yourself? If not, would you mind me doing a PR?

fusepilot commented 8 years ago

Hey, sorry for the delay. I would gladly accept a PR for this.