Our fork of express-limiter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

290 B

Express rate-limitter

Rate limiting middleware for Express applications.

var limitter = require('expa').limitter(app, client)

limitter({
  path: '/like',
  method: 'get',
  lookup: ['req.user.id', 'req.connection.remoteAddress'],
  total: 100,
  expire: 1000 * 60 * 60
})