Rob Colbert
|
f7875d1d3f
|
created
|
3 years ago |
Dustin Diaz
|
26f67323f3
|
bump version
|
8 years ago |
Dustin Diaz
|
f855dd4472
|
adds package lock
|
8 years ago |
Dustin Diaz
|
521e3c27c2
|
Merge pull request #21 from vamonte/master
Fix the ability to use a function for the option.
|
10 years ago |
vamonte
|
6cff5dd78e
|
Fix the ability to use a function for the option.
The lookup function worked only for the first time.
|
10 years ago |
Dustin Diaz
|
2bd2448ea5
|
1.6.0
|
10 years ago |
Dustin Diaz
|
a8a4fed25f
|
Merge pull request #13 from blainesch/feature/dynamic-lookup
Add ability to use a function for the `lookup` option.
|
10 years ago |
Blaine Schmeisser
|
32bd5e2e28
|
Add ability to use a function for the `lookup` option.
|
10 years ago |
Dustin Diaz
|
1b7b0944c3
|
Merge pull request #16 from cjthompson/allow_remaining_to_be_zero
If "X-RateLimit-Remaining: 1", allow one additional API request
|
10 years ago |
Chris Thompson
|
203079ce9b
|
If "X-RateLimit-Remaining: 1", allow one additional API request
|
10 years ago |
Dustin Diaz
|
6d9f3e7d1e
|
1.5.0
|
10 years ago |
Dustin Diaz
|
5fbe8dc4b1
|
Merge pull request #7 from lennym/feature/optional-failure-callback
Allow for optional handler for rate limiting
|
10 years ago |
Dustin Diaz
|
4f56f78502
|
1.4.0
|
10 years ago |
Dustin Diaz
|
94140fb318
|
Merge pull request #9 from SpiderStrategies/add-reset-header
Adds the X-Ratelimit-Reset header.
|
10 years ago |
Nathan Bowser
|
5319d8e949
|
Adds the X-Ratelimit-Reset header.
Useful so API users know when the rate limits will reset.
|
10 years ago |
Leonard Martin
|
021598b5c4
|
Add README details for custom limit handler
|
11 years ago |
Leonard Martin
|
a9c88eb082
|
Allow for optional handler for rate limiting
Instead of hardcoding a response, allow an application to define its own way of handling rate limits being hit.
|
11 years ago |
Dustin Diaz
|
087ef4cfbc
|
1.3.1
|
11 years ago |
Dustin Diaz
|
e07ce129ec
|
Merge pull request #5 from edwellbrook/patch-1
Fix deprecation warning in express 4
|
11 years ago |
Ed Wellbrook
|
7a99eff6ed
|
Fix warning in express 4
fixes deprecation warning:
```
express deprecated res.send(status, body): Use res.status(status).send(body) instead node_modules/express-limiter/index.js:43:15
```
|
11 years ago |
Dustin Diaz
|
99c10ed2de
|
1.3.0
|
11 years ago |
Dustin Diaz
|
8dd116ed93
|
fixes broken direct middleware support. adds test
|
11 years ago |
Dustin Diaz
|
a29233724b
|
1.2.0
|
11 years ago |
Dustin Diaz
|
a1d7879652
|
adds jshint and minor cleanup
|
11 years ago |
Dustin Diaz
|
2bb0855a74
|
Merge pull request #2 from roark31337/feature/skipHeaders
Add ability to set skipHeaders into the options to prevent the setting o...
|
11 years ago |
Ashley Streb
|
3c6f79aa7f
|
Add ability to pass ignoreErrors to the configuration options.
When ignoreErrors is true, if an error is encountered connecting to redis the next() middleware is called.
|
11 years ago |
Ashley Streb
|
2283789b24
|
Add ability to set skipHeaders into the options to prevent the setting of HTTP header fields for X-RateLimit-Limit, X-RateLimit-Remaining and Retry-After.
|
11 years ago |
Dustin Diaz
|
753480357d
|
ability to pass in express.Router() instance
|
11 years ago |
Dustin Diaz
|
7cdc1d13d5
|
has can spell limit
|
11 years ago |
Dustin Diaz
|
39177f9d15
|
1.1.0
|
11 years ago |
Dustin Diaz
|
d7e38fb76a
|
new direct middleware style
|
11 years ago |
Dustin Diaz
|
3bbe5895c0
|
`limiter`
|
11 years ago |
Dustin Diaz
|
1306893a10
|
show installation instructions
|
11 years ago |
Dustin Diaz
|
5a38e1a413
|
package fixes
|
11 years ago |
Dustin Diaz
|
0f0a9afa9b
|
1.0.1
|
11 years ago |
Dustin Diaz
|
7baa29f63a
|
bad references to repo and module name. closes #1
|
11 years ago |
Dustin Diaz
|
0c7ae3ef5c
|
rename title
|
11 years ago |
Dustin Diaz
|
afb896cd92
|
1.0.0
|
11 years ago |
Dustin Diaz
|
093002f073
|
rename
|
11 years ago |
Dustin Diaz
|
7b7e2e0608
|
typo
|
11 years ago |
Dustin Diaz
|
53f3881f20
|
0.0.2
|
11 years ago |
Dustin Diaz
|
1a4feb3d2d
|
whitelist method added
|
11 years ago |
Dustin Diaz
|
b4c909de6e
|
license and sincerity
|
11 years ago |
Dustin Diaz
|
3b92151dd1
|
more examples
|
11 years ago |
Dustin Diaz
|
2e8da2ab36
|
0.0.1
|
11 years ago |
Dustin Diaz
|
1d78eba2a4
|
docs with examples
|
11 years ago |
Dustin Diaz
|
c63b459cff
|
now with tests :)
|
11 years ago |
Dustin Diaz
|
0f5cede039
|
testing setup
|
11 years ago |
Dustin Diaz
|
6788f21ca9
|
include redis dev dep
|
11 years ago |
Dustin Diaz
|
f5e0de0960
|
eureka
|
11 years ago |