Etcd3 bindings in Typescript
npm install etcd3-ts


This is an etcd client. It's very incomplete.
``sh`
$ npm install etcd3-ts
Then in your code:
`ts
import { EtcdClient } from 'etcd3-ts';
import { delay } from 'promise-tools';
const client = new EtcdClient('localhost:2379');
async myFunction() {
await client.withLock('mylock', async () => {
console.log('Do work here...');
await delay(2000);
});
}
`
Checkout etcd, and then run genGrpc.sh.
`sh``
$ git clone git@github.com:etcd-io/etcd.git
$ cd etcd
$ git checkout v3.4.9
$ cd ..
$ ./scripts/genGrpc.sh
$ npm run build