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(),
},
],
});