1.1.0 • Published 7 years ago

@ag_dubs/artax v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

artax

exponentially stall a functional call based on frequency of a keyed request to call

artax

artax is a package that allows you to exponentially stall responses based on the frequency of a keyed request. for example, if a specific IP requests an endpoint too frequently, you can use artax to stall the handler sending a response back, until the rate of request is reduced.

installation

npm install @ag_dubs/artax --save

usage

see this example.

artax uses redis. you'll need to have a redis-server running for artax to work.