express-antiflood-redis
A Redis store for express-antiflood
Usage
const store = const middleware =
Options
The options are directly passed to node_redis, so if no options are passed it will use defaults.
You can use a pre-connected client by passing the option client
. In that case all the other options will be ignored.
TODO
- Add more tests
- Improve
nextDate
field returned on theget
method