@willsoto/node-konfig-consul
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Node Konfig Consul

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-consul
yarn add @willsoto/node-konfig-consul
pnpm add @willsoto/node-konfig-consul

Quick look

import * as Konfig from "@willsoto/node-konfig-core";
import { ConsulLoader } from "@willsoto/node-konfig-consul";

const loader = new ConsulLoader({
  keys: [
    {
      key: "database",
      parser: new Konfig.JSONParser(),
    },
    {
      key: "appName",
    },
  ],
});

Package Sidebar

Install

npm i @willsoto/node-konfig-consul

Weekly Downloads

0

Version

4.0.0

License

Apache-2.0

Unpacked Size

18.3 kB

Total Files

11

Last publish

Collaborators

  • paradox41