mkdir -p for ZooKeeper, using the
zookeeper node module
mkdir -p for the node-zookeeper C bindings.
Some thoughts on the current api: https://gist.github.com/2346472
Please comment on the gist with your thoughts, thanks.
var zookeeperConnection =connect: optionszookeepertimeout: optionstimeout || 1000debug_level: zkLogLevelhost_order_deterministic: false;var mkdirp = require'zk-mkdirp';// ZK does not support ./file or /dir/../filemkdirpzookeeperConnection '/a/deep/path/to/a/file' cb;
node bindings: https://github.com/yfinkelstein/node-zookeeper
leader elections: https://github.com/mcavage/node-leader
viewer/browser for stored data: https://github.com/killme2008/node-zk-browser