Simple js lib to prevent multiple simultaneous client requests to same HTTP endpoint.
JavaScript Shell
Latest commit 67537ed Mar 19, 2012 @ifandelse Merge pull request #3 from derickbailey/patch-1
This project looks awesome. I spent a few minutes figuring out how to bu...
Failed to load latest commit information.
ext
lib
node_modules
spec
src
.gitignore
README.md
build-all.sh
build-amd.json
build-standard.json
nodetesthost.js

README.md

Building TrafficCop

TrafficCop uses Anvi.js to build standard JavaScript module and AMD module versions of the library.

To build TrafficCop you need to have NodeJS and NPM installed. Once you have those, install Anvil.js through npm:

npm install -g anvil.js

Then you can run ./build-all from a Bash shell, or if you're on Windows, you can run anvil -b build-standard.json and anvil -b build-amd.json to build the version you need.

The resulting files will be in the lib/(amd|standard)/ folder, depending on which versions were built.