@willsoto/node-konfig-http
v3.0.0
Published
Node Konfig integration for HTTP
Maintainers
Readme
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-httpyarn add @willsoto/node-konfig-httppnpm add @willsoto/node-konfig-httpQuick 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(),
},
],
});