tunnckoCore / koa-better-ratelimit

:rocket: Smart and easy request rate limiter for your APIs built on `koa`, using `koa-ip-filter`. Support custom stores, custom ID, custom error messages and custom headers.
http://j.mp/1stW47C
MIT License
38 stars 6 forks source link

v3 (current master): bug in options/opts #11

Open tunnckoCore opened 7 years ago

tunnckoCore commented 7 years ago

bug in index.js#L29-L33, no way to provide duration, limited and max from the main opts object

released by https://github.com/tunnckoCore/koa-better-ratelimit/commit/b5a26d47d349684389068e98ee9a8a5d023e83eb

Globik commented 7 years ago

Soooo it;s a bug with options. How to be further?

balciseri commented 7 years ago

Any eta on this?

tunnckoCore commented 7 years ago

I'm just very busy that last month - university exams and etc. So, I can try to release it upcoming week. And maybe today can push some readme.

maotora commented 7 years ago

Hi @tunnckoCore , would really appreciate a README for this project.

Tried reading the index.js & tests.js I kinda get the idea but not fully.

Please provide one.

Thank you.

tunnckoCore commented 7 years ago

@maotora yea! Definitely! I'm very sorry about this. You can see the old readme and tests.