0.2.1 • Published 7 years ago

tarpit2 v0.2.1

Weekly downloads
11
License
MIT
Repository
github
Last release
7 years ago

tarpit

tarpit actions based on a key

Build Status

artax

tarpit 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 tarpit to stall the handler sending a response back, until the rate of request is reduced.

installation

npm install tarpit --save

usage

see this example.

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

0.2.1

7 years ago

0.2.0

7 years ago