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

upcoming v3 #7

Open tunnckoCore opened 9 years ago

tunnckoCore commented 9 years ago
tunnckoCore commented 9 years ago

sorry for the delay, stay tuned and follow milestone end date.

tunnckoCore commented 9 years ago

use filter-array@^0.2.0 and it will support array/string/function/regex as black/whiteLists. so something like this would work

var opts = {
  blackList: ['77.24.*', '123.44.88.*']
  whiteList: ['77.24.{1,2,3,4}.8*']
}
tunnckoCore commented 9 years ago

work started from here https://github.com/tunnckoCore/koa-ip-filter

tunnckoCore commented 9 years ago

Release will finally come on 12 June. Same for koa-better-body and express-better-ratelimit. Actually all is almost ready locally, need only to push and lil' bit work.

Sorry for the delay, but I'm busy with semester session on university.

liamdawson commented 9 years ago

Progress?

tunnckoCore commented 9 years ago

@liamdawson yea, locally. sorry for the long long delay. just unexpected things and work.

dhax commented 8 years ago

any plans for a koa@2 release?

tunnckoCore commented 8 years ago

@DiknT, maybe yes, I'll review.

I'm open to PRs.

tunnckoCore commented 8 years ago

@DiknT and others, I will start v3 immediately after https://github.com/tunnckoCore/koa-better-body/pull/34 - maximum the end of the week.

any plans for a koa@2 release?

You can use koa-convert. But yea, I will think for koa@2 support out of the box.

Globik commented 7 years ago

Excuse me, where can I find version 3 koa-better-ratelimit to test?

tunnckoCore commented 7 years ago

It is on the master. But it is kinda bugged.