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

3.0.0 • Public • Published

Node Konfig HTTP

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

Quick look

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

const loader = new HttpLoader({
  sources: [
    {
      url: "https://internal.config.com/config.json",
      parser: new Konfig.JSONParser(),
    },
  ],
});

Package Sidebar

Install

npm i @willsoto/node-konfig-http

Weekly Downloads

0

Version

3.0.0

License

Apache-2.0

Unpacked Size

16.7 kB

Total Files

11

Last publish

Collaborators

  • paradox41