Closed tunnckoCore closed 10 years ago
should easily be different middleawre
not useful for real applications, maybe during dev but that's it
milliseconds is basically standard in js
Hi @tunnckoCore , how to use your middleware in practice? Yes, I see an example provided by you. But not understanble enough how to handle all those custom errors. Shoud it be hanled in a router system?
haha, pretty old issue bumped.
@Globik, i'm working on v3. Actually it is almost ready and it is in the master branch. But was busy last month or so. It is pretty working and it is for Koa2.
Please open issue there and explain, give some examples and etc.
Ok, @tunnckoCore I'll look at v3.
Hi folks.
What think for this memory-only-for-now store implementation - koa-better-ratelimit with only 4 dependencies? I know it's near between
koa-limit
andkoa-ratelimit
, but I think it's smaller and rationally better thankoa-limit
that is totally broken for me.There's no
db
option, cuz I don't need other than in-memory.Diferences
Between koa-better-ratelimit and koa-ratelimit
duration
option in seconds, not in millisecondsdb
optionRetry-After
headerBetween koa-better-ratelimit and koa-limit
redis
and test dependenciesIf you want you can add to wiki page :)