@willsoto/node-konfig-etcd
v3.0.0
Published
Node Konfig integration for etcd
Downloads
5
Maintainers
Readme
Node Konfig Etcd
Thanks to Konfig for the inspiration. This library would not have been possible without it.
Documentation is available at https://willsoto.github.io/node-konfig/
Installation
npm install @willsoto/node-konfig-etcd
yarn add @willsoto/node-konfig-etcd
pnpm add @willsoto/node-konfig-etcd
Quick look
import * as Konfig from "@willsoto/node-konfig-core";
import { EtcdLoader } from "@willsoto/node-konfig-etcd";
const loader = new EtcdLoader({
keys: [
{
accessor: "database",
parser: new Konfig.JSONParser(),
},
],
});