node client for etcd v2 that adheres to waitIndex for watching.
var etcdx = ;var client = ;clientclient;client;
$ npm install etcdx
set the following options for further requests to the etcd server:
run 'trigger' each time a value at or below 'key' changes
'recursive' controls how deep we are watching
this function looks at the global etcd waitIndex in case a value has changed in-between our watch requests
return the value of 'key'
set the value of 'key'
set the value of 'key' for 'ttl' seconds
list the entries below 'key' - recursive follows nested directories
create a directory (with no value) at 'key'
remove all values below key