npm install mewtwoA small redis multi-key semaphore lib for nodejs, based on the redfour library

Written in coffeescript, so a coffee compiler is needed to build
``sh`
npm install -g coffee-script
`sh`
npm install mewtwo --save
`coffeescript
Mewtwo = require "mewtwo"
mew = new Mewtwo
log: true # Log stats for each acquire.
timeout: 5000 # Locks expire after 5 seconds
redfour: # Initialization options for redfour
redis: "redis://localhost:6379"
namespace: "mewtwo"
mew.acquire ["key2", "key3"], (err, multiLock) =>
if err
console.log "Error acquiring: #{err}"
else
console.log "key1 & key2 are successfuly locked"
Check out tests for more details.