@ag_dubs/artax
v1.1.0
Published
> exponentially stall a functional call based on frequency of a keyed request to call
Downloads
7
Readme
artax
exponentially stall a functional call based on frequency of a keyed request to call
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.