jhurliman / node-rate-limiter

A generic rate limiter for node.js. Useful for API clients, web crawling, or other tasks that need to be throttled
MIT License
1.5k stars 132 forks source link

Adds throwing of an error for invalid interval parameter strings. #43

Closed C-Saunders closed 6 years ago

C-Saunders commented 6 years ago

Also adds a test to validate the throwing behavior.

Closes #42.

jhurliman commented 6 years ago

Thanks!