Napoleonic Political Magnificence
    Have ideas to improve npm?Join in the discussion! »

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

    1.0.5 • 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",
        },
      ],
    });

    Install

    npm i @willsoto/node-konfig-consul

    DownloadsWeekly Downloads

    51

    Version

    1.0.5

    License

    Apache-2.0

    Unpacked Size

    15.7 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar