{"_id":"ishare","_rev":"95-776b3f7e92d63d1c14b0fa35b64c8e30","name":"ishare","description":"nodejs client for service coodernation with zookeeper","dist-tags":{"latest":"0.2.12"},"versions":{"0.1.0":{"name":"ishare","version":"0.1.0","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"161e7deb84578bab96515887c06404c08595f778","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.0.tgz","integrity":"sha512-+PQ+pSCu1rLwqvWhbKi3zp8tWDuAkHqVA36au6BVRELET/6F5aoS9l0GgpfJt4WwAcVAe38bKRiLLD5Xm12DGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEVOs+DviWwXUwvqnFdrkYaxOq1lysd7Pjqy5MdzcyswIgXtbF6dkKe+iLmptClFGevVY0zrDc0xIEj9tNWmGmNiY="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.1":{"name":"ishare","version":"0.1.1","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"f16cd585bfaafd67b169e1bca69be862c68439ec","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.1.tgz","integrity":"sha512-LpgQA4WuZ5YUZ7+bmdhJ8g7ylhE3Kj8e8c3QVKCRSKBCuSExVvRePepi+FuRZnziHc3DBR3hk/txOREX7pMVcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBpmnY1tDMet1E8oKNsWqqO4A2IXKUCZUnkJQooERdK2AiA1zK79j3v4lhhkzNfRI4rlSODbxlL9BTHgC1ULYVEDaA=="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.2":{"name":"ishare","version":"0.1.2","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"f99aafe2c9b145b1546117db1e81d83ad6d983c3","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.2.tgz","integrity":"sha512-SEiOywTUFjHVk9xQGgV3ve05ThuPpS9ZrbhaX5Y/fdsxFjFv1Rf6U6i09WV3pEXuMSlIKf/TIerIar/O5kHJ5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHeQm0KEHh5rGW880J2V4kYV1bEqnjrAIfaCCMOnZM8AiEAkt+NrJz/7/l3aj5Xm8gVNi28L42s0zwq+jJLBtcRTfM="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.3":{"name":"ishare","version":"0.1.3","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.3","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"6c963c45abf95e86cd6442190904247b03dda192","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.3.tgz","integrity":"sha512-MYIsq9+N45NsP+qwp/G3VD7D9dZmMhDp206cbV6G4DFuqNGNKZF4aPZ+qkYx3GP6oLnCeQFbKBBPkxsK3DVfZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxS5nQi/6b2U2voji6Obf+slTN30lsATIHUcttrJG7jAIgM5fyNq2NwwOAT+7JLw7MXidK8Cq4WTyCz9jEn9X/UXY="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.4":{"name":"ishare","version":"0.1.4","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"test":"make test"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.4","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"8bbe1d10e34f1b2a9e97a7b1f478070c9f47d879","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.4.tgz","integrity":"sha512-aaznuTY0R0VNwF4UwaJmnvdh7Q8RAEBEr75wRE1ZvDM2LrZoHKl/aykSXJaklPZ/tXyitP7ZwVma4+Fqf8V4kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5CUaySLYl3jfU1ovz1iDGEo4gW0Ed36zpZdNJ9eOa/AiEA0fL46OwvrwNNHSMUpyBoKEuDqj5f5YolA79HkxVZ5vE="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.5":{"name":"ishare","version":"0.1.5","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.5","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"c8d6f5ffc79a9b1256ba1be08bec75309cf6e928","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.5.tgz","integrity":"sha512-ogt/GrFbC30/V8iZN2RpL5Dv3KeIqj6I9ST9UVL2/x08Ht7tY3Dj2uS1YiMUb00B0AtOJZ7UQPqbWz/EamzECA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC53r9wUiXq4/T3wB3lcS1IM+NMi7BCzn9wg3k5QZdKaAiEA9Rt31ryeEYz8vSfEMSnAlOkCIauDvxhh9pM0tUWHfuI="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.6":{"name":"ishare","version":"0.1.6","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.6","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"90c1cf9cc022cfb85c63cb37bab0b273a0e17563","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.6.tgz","integrity":"sha512-cU8Mrk+IWlwBzu3jlbvsJKYrxIRhvtE5eBNsqC/oY/djAODDxWZ11AuDjyZLs5sgvsQ+Cqt7it/IaJEN4J/oGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYUADs36lBMy3sW4FUiU0JfDYE81qS3iMKyKdlupHfYAiEAqqgpRRXADBLWcJxlWBKur6BK3KItlKavBhLOCfIZx8o="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.7":{"name":"ishare","version":"0.1.7","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.7","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"14b24a002ad379a004b077d682d0306745808677","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.7.tgz","integrity":"sha512-tn/uFRfNn5xq3e964MP4xHpBOZdyF2ju8VFDpJg6IS1KxoGPa5C/hkf99fo3f0yl1I7abAbOvJJ2sezPN4tMWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICEbla3iz46nvEDY0LuE8Rqfxy70TkLUQqJCceNwsQG4AiEArrhF+3oOhCUD3bZqBLf5wnj3cCRkqmnB9jKPSjhP7GQ="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.8":{"name":"ishare","version":"0.1.8","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.8","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"d6e679ebd2760d373e7f34aced6413c5528a7dc2","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.8.tgz","integrity":"sha512-WenY1WWQm7IB6U9ODtFWmFNBmB043wEij5fkFcrlxifA32jMsvNMSnN79HmvCBbZ3X2qo2uqiXc78/qTxj6MNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl6O3vu1DBH1DdhervPOaf/Aq6uSRpc3XqnK0zSRg78gIhANFk6wmk5vFnT7QYa9+sYtXpoCzwwGGHZ12jX5iwa7se"}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.9":{"name":"ishare","version":"0.1.9","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.9","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"549e67a5df1928c4f334f7b940da2ac774e794dd","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.9.tgz","integrity":"sha512-BvlpTWpOfEa+XT3MijvwEjh0+Cf50Sj3/WpfqL+0fVR/URq9N2nSlcb6GaLfx5Tq6rq62c/62Aoz9aNKrcoX9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQG9V+S2oD45zwKWwpsIh0AWGdKHq2NIT0klq20QhaVAiEA9yilK8+jMQjZ89EeljTCJcuxReyRhT8iekrjyWD5nqg="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.10":{"name":"ishare","version":"0.1.10","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.10","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"68b17ef60988d1bbb910c191b8232d3c3c284092","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.10.tgz","integrity":"sha512-JDaYiytJd1p3obFJ2ODN9eQ+Z9XolYwML5boRUKW5WiqElKzWb771CwmdaZqOZDKU+/7nc7Qe7LLharyx2tc1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP5hevi5zlA/dw6pE6iKK1zI4M3BWEwaPkALyfNdFOxgIgNq6pJ9rLETWmNBDaxfeAIuKB3rdHg60dt0N49U5T7f4="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.11":{"name":"ishare","version":"0.1.11","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0","light-node-zookeeper":">=0.1.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.11","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"59d98af723f4f58f3b0bbef175ff0c5e0221512f","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.11.tgz","integrity":"sha512-y3ekPy2iQVs7k5Zs4KGXYL5+3BDPTJynQnu4EqwW2OuoFCrzs4hofPK/iAPNOkbGb84bOrC9cOc84Vs9G48lIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU0omnCgg8T1KGpf85Tk+dZxjcKSMSuPv/IRWl9BR/lAIgNGUDKQ3UsGry4WF73x1ctcO6Q5qrrIBZVUYl5GZnGKY="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.12":{"name":"ishare","version":"0.1.12","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{"light-node-zookeeper":">=0.1.0"},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.12","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"9c8009c2247d964ea23862927425a32bcf7d68c4","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.12.tgz","integrity":"sha512-dRAj8xwQ7o1gBY2dC0miUKDOQ2Jfy6IVT4JFgfVESETIg2m82mdMONMNTXq8ZUyp2UY7U3X7TlX6UwiQZ9VxHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDep/K4i9Ehz7/43OEH3bYNrx8wrYRxFle6T+MBbAcuzAiA3pTGY2ripqieXgqfpXgx8RcuMkZMe5ArKfGzFrN0CiQ=="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.13":{"name":"ishare","version":"0.1.13","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{"light-node-zookeeper":">=0.1.0"},"engines":{"node":">=0.6.17"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.13","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"0f13675c485e6a03e2e02d4432c3fc53400438ea","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.13.tgz","integrity":"sha512-Tc4zWaDg27mAzmNqZzKanxFcq9yaTQLRanMZVDnT++1uRXhkQ9nDvMaV9y3glSpIOIS1tby4p8DHWIgxEiEpqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr3RLIq9rji46o5TMEfTlEikATXQjOsldvYVp9gNC6aAIhANwXrEUumdMa7BDFz9FXBEJpXnfIzQCP1INiGjpl/H3r"}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.14":{"name":"ishare","version":"0.1.14","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{"light-node-zookeeper":">=0.1.0"},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{"install":"make install"},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.14","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"a6aa8d7b9ae2a3d268df218620760cc27b8e9fb8","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.14.tgz","integrity":"sha512-y4ccqAwYTPYg4sG8jKvc2SlrbzIsFSe4kcMId+2CyKgakaUYmKIOcKCLw8SCyAgp1SuEPNTlm9xFgwXKy3IufA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwHd1d3IH1LgXrfKxk9Ult4/Jn4cHw3jlA7+v6S2HKagIgVtbWVnl9ShKSPkt5ngk4VuJ3UW3TSLnT79MgXZyomSk="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.1.15":{"name":"ishare","version":"0.1.15","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.1.15","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"16632ce0b0a160d4a42e8fcda703ba57de94a3ad","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.1.15.tgz","integrity":"sha512-vcOlbNptFow7HlnZqFd2JGibX2jm5u9+42jNcw4/mbaWSsggF5G3BqlpLqsK0wz4m5aCD+aiVBswKwC9oVxKCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcnlgyDrycuIpHezRYairB2myXrPUTdJR29jBIEjo1qAiEA6lIgmUjRdSvxSO9mec2JVj4srPUFLdwqaKgI8H5ARI8="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.0":{"name":"ishare","version":"0.2.0","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"d2014ffba40e7842a99ba86f000a9f89a011297b","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.0.tgz","integrity":"sha512-kjGdR2rw3UKgwMyEcd8eBxRN6JlLE1vlBnbBnD8iZhT/hEnP7sgMKdvGKOHtbX6VLwpzIG5D0JOyrwkNsJHwVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1vQLltYemyUGTKAb7WfktfVt6JKYAQQix/mpsdaQlegIhAJ5UKqECNurpoW5P0hPrBBvb3As3QcjvvsdUJdUSRtjC"}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.1":{"name":"ishare","version":"0.2.1","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"3199de53bfa1e062a406d33e1663522c66c5e1f1","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.1.tgz","integrity":"sha512-dpf1OL0syrDXBDASvj8P50dqLjGrg0wbVpXAvOoH4Kd1N/PhjcaI3Po2nxgUyYNEJEW5r0wOJ581oK85c/i6AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArarn6683fWsg/ERe+BRape3KRrO4GJ5/DW6W2KTN/DAiEApvKDMJ/24kJ4njN58Igqm4rtwqzN20QB9IPIgKzK4og="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.2":{"name":"ishare","version":"0.2.2","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"62687f04e715c158be990d2cdbfe6df7b8d506f8","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.2.tgz","integrity":"sha512-xPiL7acFw5S6ni5Y0V2pUP9gOkBJLodiGQw1/2/soE7fGtGbvUp9PehiXhKAgbelt7gm2/LWurcpM2GFan4Z9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpnOxf+TEgEWRfSMnpvBCr6NfNi5RQGYhaQbnlli29nQIgCbmzZge5i2iT+Vb4T8zRlWTttRz/WJMaCebCeH/DbyQ="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.3":{"name":"ishare","version":"0.2.3","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.3","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"593130793f0f2e70d8249506cfa6d73a2fc2eb1f","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.3.tgz","integrity":"sha512-HKUyy5GQCXhhtyS863K6CCTWAOZ1LmEkrAakI4+3npvG/i7Q3DIoPlTLarIf1MRLYKYvc+WznHVpdW2483ZSxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGHdvn+EWjMhToGzKova9gdLGUi4zlJBzCVdidKeqaQHAiEAkYTck2UxPv23s6CR1LBTfLqkxbMTyMKVXvEWOOWQHH4="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.4":{"name":"ishare","version":"0.2.4","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.4","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"6f955eec2f31d6f01b98e6c1b10846b6be7aad53","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.4.tgz","integrity":"sha512-gntoyELjTXt9kmSYyvi0VSUINNeVadDbIGWPaXsULg9IZxi85GUbO8uiVwI4pwJlQ65OxKq70eomd99lYUzXfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrlW0U+1ow9b6xKVHWE+L6z5J77S7bIQfES00WYkuluwIhAJ4+Y+ly9yIh7huWOyLebOuLdCZ34AJVR7d+UMUZ+neE"}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.5":{"name":"ishare","version":"0.2.5","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.5","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"49a2ad82e9feee47e10bef5ac0efd48c6149f483","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.5.tgz","integrity":"sha512-3V5++wYkgdkjaf/3U/JBgTCKzMrR6JUsJOy1XRQdDZF0rGFC91aC1MgbXuB6iuLf5nhs3ITeDSbZrOCr8Gk4Jw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnmVxcYDk77jvE3SH31X57yf8OtmrDWUq3zeE1qU54MAIhAJhM2sQqE4njQ9IxWO3+D/nA4al5/AZu2z6GL+SYJvuv"}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.6":{"name":"ishare","version":"0.2.6","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.6","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"fb78e04c4bf30b6ff55de36e00c3f666da426c69","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.6.tgz","integrity":"sha512-/m+ziS7oB25oqQZgr6PKQNl/PkS/0QnmWLhdE3hSlH7eVFKhJrfz7jrDX7hVprS8PI5OWYO0mjxJT02uQXb1Hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFPq0cQj1jvnRu5iysOj9arxVTG1xk1RxBXA4djF0uAGAiBhPgTvkwFSQxC5GCqi78vhWSuZl1j3sNM6je+z9Zbhqg=="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.7":{"name":"ishare","version":"0.2.7","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.7","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"43cba87d73a0d5432b74b385568a842accbc6536","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.7.tgz","integrity":"sha512-wY/8wLlWqlzcMyC8evQ36GnJ0QZUnKXMyFsEYVmdhlSKUYcRRVlvZgkdFrPf/Ancemd2GWGzLNf1H8wDoqHw3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDU0UhNx0uPxZzmATnDuApHmrTNg4z5Tr1PCTfXN4FYAIhAPnm0hLix9NDi60nurfHCQy7apzJkIUXnD4VBTyL6R2Y"}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}],"directories":{}},"0.2.8":{"name":"ishare","version":"0.2.8","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.8","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"5a1e8146e38a3c7541b95b2607ab5c2debe01bbd","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.8.tgz","integrity":"sha512-tC6okp3pmgbiSJ6Thm9mBA2qp2EvkB7Kd4vJSFRSQMTuJl+kafOdMDWFi11WmtttkNAZ+ZYi2BiXKdxoLf4tmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7suW7wppAbKsXqVUPA1FbEzpz7tfpH1e0F0aPpitktAiATGZi91+NmXQa9oT44bXzZ2/0Da5tc/HDntpRRCWL0xg=="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}]},"0.2.9":{"name":"ishare","version":"0.2.9","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.9","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"c8c2a99a5acd884234d8a5e59e55db8739fd45b9","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.9.tgz","integrity":"sha512-ic5iqdVHr9R+vNnMm3z8zSinvyWiJCXNQ0LdUfkEWV4x4ycEfR2tifdSvjbMp22A+EabEt9IozodqWTAc1ohwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDxl6hrkuWbhJyTScPZfyb3wyW19qFvn4ZdhI1QHlDpAiEAss+8gKZAuXO+u6S+tBkQRCBeCH+IIJxo/+wkEaK/cmY="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}]},"0.2.10":{"name":"ishare","version":"0.2.10","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.10","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"78648258f65d162c84e2c2e839b053b7c273b2c1","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.10.tgz","integrity":"sha512-8+6idehOUOCgC/ksHiiBI/yQSSqvVIyyoLiBjNxcBCqwNh3prjtMOxbCYBPa//vPA+mtLgUz3z+vrDC07CqoSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlbo+Dyyd9/1hibRYjzS2oxAFoXaYRzX2gU3/mMiE4zAiEA5aEVaiiT5JKXwqJNsySksLe5AvW34Q5JV2+bgTQHlFk="}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}]},"0.2.11":{"name":"ishare","version":"0.2.11","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.11","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"0d3b6a9cd211fa3d6f66702fb1bc46dd5bb1c818","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.11.tgz","integrity":"sha512-++Lf6Cu+65k03JwZpiTGbTQ2PGbavMIn9hh496JK3tMPggOuMHtfV7h3XRWTPXa4JZj0WhUt0zSh09Q+1bhuKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCynqC+fDrnO2eVbRGC5zRaTtDF85SX7r8DExJ/Al89HQIhAK4cRmncq0P4g028QJFz5ZvUEAt2D9PVfQK1+wo8Doyh"}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}]},"0.2.12":{"name":"ishare","version":"0.2.12","author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"contributors":[],"homepage":"","description":"nodejs client for service coodernation with zookeeper","keywords":["nodejs","service","zookeeper"],"main":"lib/client","dependencies":{},"engines":{"node":">=0.6.11"},"devDependencies":{"should":">=0.4.2","mocha":">=0.9.0"},"scripts":{},"_npmUser":{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},"_id":"ishare@0.2.12","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"bcc31b870135d5e99e19ab3ea2a099d5503df3c0","tarball":"https://registry.npmjs.org/ishare/-/ishare-0.2.12.tgz","integrity":"sha512-IbdvBINGn0RuWXAzzjfBCx2HmWK+uQ51FxefeMSi8feg9iXfAVCcsxMvMmUHMAdYgAyu0XbTyBopGAMxxrqjPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/WiWNkB70073Pr53yKOxd1hqYlRtShFAjnAPl87X/uQIhANx369NqXDmr0FGSqS+Bds/VUctpMbxB5y5v8fiJRyi7"}]},"maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"}]}},"readme":"# 介绍\n\n`ishare`是一个nodejs客户端，其配合zookeeper来提供服务协调的功能。用户可以使用此客户端在zookeeper上方便的注册服务或者获取服务。服务注册注销和服务之间的相互调用变得非常便捷。\n\n# 使用场景\n\n经常会有这样的一些场景：\n\n* 多个服务之间存在依赖，即服务需要调用服务。然而服务的获取往往通过配置文件得知其他服务的信息。如果被依赖服务出现问题，主动或者被迫下线，则需要手工修改配置文件或者发送系统信号的方式来通知依赖下线服务的服务。\n* 同样，如果被依赖服务添加机器，调用此服务的服务也需要人工参与获得信息。\n* 服务新版本上线往往无法做到完全平滑。\n* 服务更新版本，重新在一些机器上布置或者以新端口方式提供服务（旧服务不下线可能是因为方便回滚或者作比较等），此时调用此服务的服务方也需要人工干预。\n\n上述四种为常见情况，如果服务很多，相互之间的调用关系复杂，那么上述问题造成的麻烦会以指数级增长，一个失误就会引起线上的故障。怎么办？`ishare`帮你搞定一切。\n\n# 功能\n\n* 将服务注册到zookeeper上：调用此服务的服务可以通过名字直接获取此服务信息，并且在获取后，如果此服务发生变化，会收到通知。\n* 注销服务,服务下线：调用此服务的服务会收到相应通知。\n* 获取服务：直接通过约定好的服务名字获取服务，并且此服务发生变化时会得到通知。\n\n# 进阶\n\n* 服务选择：获取服务时，除了指定服务名称，还可以指定需要获取的服务版本，提供范围控制。还可以设置获得当前服务的最新版本，无需知道服务的具体版本号。\n* 心跳监测：nodejs客户端会对请求到的服务维持心跳监测。\n* 版本控制：版本节点自动添加\n\n# 接口\n\n**注册服务：registerService(serviceName,version,ctlInfo,serviceInfo,cb);**\n\n* serviceName:服务名称\n* version:服务版本\n* ctlInfo:控制信息，例如这次和zk的session的超时时间\n* serviceInfo:服务信息对象\n* cb:回调函数，注册完毕回调\n\nexample:\n\n```javascript\n//obj是指向这个服务的一个对象，其有unRegisterService方法可以注销此服务\nregisterService('testService','1.0',\n  {\n    //tm表示和zk连接的session的超时时间\n    tm:1000,\n  },\n  {\n    method:'GET',\n    url:'1.1.1.1:80'\n  }\n  ,function(err,obj){\n    if(err) throw new Error(err);\n  }\n);\n```\n\n**注销服务：unRegisterService(cb);**\n\n* cb:注销动作后的回调函数\n\nexample:\n\n```javascript\n//obj是registerService回调中的参数\nobj.unRegisterService(function(err){\n  if(err) throw new Error(err);\n});\n```\n\n**获取所有服务：getServiceAll(serviceName,filter,ctlInfo,cb,w_cb);**\n\n* serviceName:服务名称\n* filter:服务筛选条件\n* ctlInfo:控制信息，包括session超时时间和心跳检测函数等,心跳检测函数需要用户传入，具体使用方式在下面例子中说明，如果不指定心跳检测函数，则使用默认检测方式，默认检测方式为向服务发送http请求监听响应来检查。\n* cb:获取服务后的回调函数\n* w_cb:获取服务发生变化后的回调函数(可以设置为false，表示不对变化做相应)\n\nexample:\n\n```javascript\nvar IShare = require('ishare');\n\n/*\n  filter可以是字符串表示某个具体的版本或者是一个对象,设置为0表示获取最新服务\n  对象中可以指定筛选条件，例如版本选择和机房选择\n  方法获取的是符合条件的所有服务信息\n*/\nIShare.getServiceAll('testServiceName',\n  {\n    version:{\n      min:'1.0',\n      max:'2.0'\n    },\n    room:'ROOM1'\n  },\n  {\n    tm:10000,\n    hbFunc:function(addr,cb){\n      //addr为服务的地址，可能是url或者是其他表示服务地址的字符串\n      //cb为检测好后的回调函数，如果心跳发现服务不可用或者其他意外情况，如下调用回调函数：\n      //cb(err);   err为错误信息。\n    }\n  }\n  ,function(err,serviceInfos){\n    //get serviceInfos after call this function\n  }\n  ,function(err,serviceInfos){\n    //If one of thoses services is changed,the function is called.\n  }\n);\n```\n\n**获取任一服务：getServiceAny(serviceName,filter,ctlInfo,cb,w_cb);**\n\n* serviceName:服务名称\n* filter:服务筛选条件\n* ctlInfo:和getServiceAll一样\n* cb:获取服务后的回调函数\n* w_cb:获取服务发生变化后的回调函数(可以设置为false，表示不对变化做相应)\n\nexample:\n\n```javascript\nvar IShare = require('ishare');\n\n/*\n  filter可以是字符串表示某个具体的版本或者是一个对象,设置成0表示获取最新服务\n  对象中可以指定筛选条件，例如版本选择和机房选择\n  方法获取的是符合条件的所有服务中的一个服务信息\n*/\nIShare.getServiceAny('testServiceName','0',\n  {\n    tm:10000,\n    //说明如上面getServiceAll\n    hbFunc:function(addr,cb){}\n  }\n  ,function(err,serviceInfo){\n    //get one serviceInfo after call this function\n  }\n  ,function(err){\n    //If this service is changed,the function is called.\n  }\n);\n```\n\n# 安装\n```bash\n$ npm install ishare \n```\n\n# 使用\n```javascript\nvar IShare = require('ishare');\n//IShare初始化方式，用来指明zk的地址等，这步很重要\nIShare.init({\n  addr:'localhost:2181',//zookeeper集群地址，多个地址以\"，\"分割，必填！\n  user:'',//用户名，暂时无用，以后会提供全线检查\n  pwd:'',//密码，暂时无用，原因同用户名\n  localPath:'',//本地文件保存路径，用于连不上zk时获得service信息，默认__dirname+'/.cache'\n  root:''//根路径，默认/service\n  checkInterval:''//心跳检测间隔，默认500\n});\n```\n其他的接口上述都已介绍。\n\n# 测试\n修改test/test_config目录中的zk地址，然后在根目录下运行make就可以进行单元测试\n\n# 问题\nIShare详细的使用方式可以参考test目录下单元测试，如有问题欢迎和我联系，见下面联系方式。\n\n# 联系方式\nyixuan.zzq@taobao.com / zzqvincent@gmail.com\n","maintainers":[{"name":"vincent-zhao","email":"zzqvincent@gmail.com"},{"name":"windyrobin","email":"windyrobin@gmail.com"}],"time":{"modified":"2022-06-19T02:57:35.538Z","created":"2012-05-23T17:40:37.520Z","0.1.0":"2012-05-23T17:40:41.389Z","0.1.1":"2012-05-31T11:33:04.540Z","0.1.2":"2012-06-02T15:00:50.244Z","0.1.3":"2012-06-02T19:59:57.763Z","0.1.4":"2012-06-02T21:00:30.391Z","0.1.5":"2012-06-06T12:12:59.029Z","0.1.6":"2012-06-07T03:11:32.647Z","0.1.7":"2012-06-07T03:45:57.182Z","0.1.8":"2012-06-07T08:26:34.359Z","0.1.9":"2012-06-07T09:05:20.163Z","0.1.10":"2012-06-07T11:01:35.633Z","0.1.11":"2012-06-07T12:10:47.255Z","0.1.12":"2012-06-07T12:49:42.248Z","0.1.13":"2012-06-07T12:56:15.716Z","0.1.14":"2012-06-07T13:34:19.823Z","0.1.15":"2012-06-08T06:31:23.675Z","0.2.0":"2012-06-19T11:06:01.820Z","0.2.1":"2012-06-21T05:58:33.160Z","0.2.2":"2012-06-21T07:10:21.202Z","0.2.3":"2012-06-25T10:20:42.666Z","0.2.4":"2012-06-26T09:11:39.725Z","0.2.5":"2012-06-27T08:12:19.738Z","0.2.6":"2012-06-27T11:50:13.982Z","0.2.7":"2012-06-27T15:03:29.299Z","0.2.8":"2012-06-29T09:55:43.482Z","0.2.9":"2012-07-24T03:33:47.636Z","0.2.10":"2012-08-02T07:18:39.305Z","0.2.11":"2012-08-09T06:24:32.356Z","0.2.12":"2012-08-09T06:30:08.314Z"},"author":{"name":"Vincent-zhao","url":"zzqvincent@gmail.com"},"users":{"fgribreau":true}}