{"id":13479447,"url":"https://github.com/microsoft/etcd3","last_synced_at":"2025-05-15T11:06:02.047Z","repository":{"id":38811263,"uuid":"87667333","full_name":"microsoft/etcd3","owner":"microsoft","description":":bookmark: Node.js client for etcd3","archived":false,"fork":false,"pushed_at":"2024-06-11T03:21:11.000Z","size":2638,"stargazers_count":531,"open_issues_count":24,"forks_count":73,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-15T00:07:59.559Z","etag":null,"topics":["client-library","etcd","etcdv3","grpc","javascript","js","node","nodejs"],"latest_commit_sha":null,"homepage":"https://microsoft.github.io/etcd3/classes/etcd3.html","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-08T22:11:31.000Z","updated_at":"2025-05-06T09:02:21.000Z","dependencies_parsed_at":"2024-10-23T13:05:00.624Z","dependency_job_id":null,"html_url":"https://github.com/microsoft/etcd3","commit_stats":{"total_commits":208,"total_committers":21,"mean_commits":9.904761904761905,"dds":"0.21634615384615385","last_synced_commit":"e74db2a81c68006feb770c1c21dbed5af46fdf40"},"previous_names":["mixer/etcd3"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fetcd3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fetcd3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fetcd3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fetcd3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/etcd3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328385,"owners_count":22052632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["client-library","etcd","etcdv3","grpc","javascript","js","node","nodejs"],"created_at":"2024-07-31T16:02:16.238Z","updated_at":"2025-05-15T11:06:02.024Z","avatar_url":"https://github.com/microsoft.png","language":"TypeScript","readme":"# etcd3 [![Run Tests](https://github.com/microsoft/etcd3/workflows/Run%20Tests/badge.svg)](https://github.com/microsoft/etcd3/actions?query=workflow%3A%22Run+Tests%22)\n\netcd3 is a high-quality, production-ready client for the Protocol Buffer-based [etcd](https://etcd.io/) v3 API. It includes:\n\n- [load balancing](https://microsoft.github.io/etcd3/interfaces/ioptions.html)\n- [fault handling and reconnections](https://microsoft.github.io/etcd3/interfaces/ioptions.html#faulthandling)\n- [transactions](https://microsoft.github.io/etcd3/classes/comparatorbuilder.html)\n- [software transactional memory](https://microsoft.github.io/etcd3/classes/softwaretransaction.html)\n- [high-level query builders](https://microsoft.github.io/etcd3/classes/etcd3.html)\n- [lease management](https://microsoft.github.io/etcd3/classes/lease.html)\n- [watchers](https://microsoft.github.io/etcd3/classes/watchbuilder.html)\n- [user](https://microsoft.github.io/etcd3/classes/etcd3.html#user) and [role](https://microsoft.github.io/etcd3/classes/etcd3.html#role) [mocking](https://microsoft.github.io/etcd3/classes/etcd3.html#mock) management\n- [elections](https://microsoft.github.io/etcd3/classes/election.html)\n\nand is type-safe for TypeScript consumers.\n\n### Quickstart\n\nInstall via:\n\n```\nnpm install --save etcd3\n```\n\nStart building!\n\n```js\nconst { Etcd3 } = require('etcd3');\nconst client = new Etcd3();\n\n(async () =\u003e {\n  await client.put('foo').value('bar');\n\n  const fooValue = await client.get('foo').string();\n  console.log('foo was:', fooValue);\n\n  const allFValues = await client.getAll().prefix('f').keys();\n  console.log('all our keys starting with \"f\":', allFValues);\n\n  await client.delete().all();\n})();\n```\n\n### API Documentation\n\nOur [TypeDoc docs are available here](https://microsoft.github.io/etcd3/classes/etcd3.html).\n\nOur [test cases](https://github.com/microsoft/etcd3/tree/master/src/test/) are also readable.\n\n### Running tests\n\n```sh\n$ npm install\n$ cd src/test/containers/3.2 \u0026\u0026 docker-compose up # in a separate shell\n$ npm test\n$ docker-compose down\n```\n\n### Contributing\n\nRunning tests for this module requires running an etcd3 server locally. The tests try to use the default port initially, and you can configure this by setting the `ETCD_ADDR` environment variable, like `export ETCD_ADDR=localhost:12345`.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fetcd3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Fetcd3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fetcd3/lists"}