GitPedia

Etcd3

:bookmark: Node.js client for etcd3

From microsoft·Updated May 20, 2026·View on GitHub·

etcd3 is a high-quality, production-ready client for the Protocol Buffer-based [etcd](https://etcd.io/) v3 API. It includes: The project is written primarily in TypeScript, distributed under the Other license, first published in 2017. Key topics include: client-library, etcd, etcdv3, grpc, javascript.

Latest release: v1.1.2
October 4, 2023View Changelog →

etcd3 Run Tests

etcd3 is a high-quality, production-ready client for the Protocol Buffer-based etcd v3 API. It includes:

and is type-safe for TypeScript consumers.

Quickstart

Install via:

npm install --save etcd3

Start building!

js
const { Etcd3 } = require('etcd3'); const client = new Etcd3(); (async () => { await client.put('foo').value('bar'); const fooValue = await client.get('foo').string(); console.log('foo was:', fooValue); const allFValues = await client.getAll().prefix('f').keys(); console.log('all our keys starting with "f":', allFValues); await client.delete().all(); })();

API Documentation

Our TypeDoc docs are available here.

Our test cases are also readable.

Running tests

sh
$ npm install $ cd src/test/containers/3.2 && docker-compose up # in a separate shell $ npm test $ docker-compose down

Contributing

Running 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.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from microsoft/etcd3 via the GitHub API.Last fetched: 6/25/2026