UNPKG

wj-config

Version:

Javascript configuration module for NodeJS and browser frameworks such as React that works like ASP.net configuration where data sources are specified (usually JSON files) and environment variables can contribute/overwrite values by following a naming con

9 lines 407 B
import { DataSource } from "./DataSource.js"; export declare class JsonDataSource<T extends Record<string, any>> extends DataSource { private _json; private _jsonParser; private _reviver?; constructor(json: string | (() => Promise<string>), jsonParser?: JSON, reviver?: (this: any, key: string, value: any) => any); getObject(): Promise<T>; } //# sourceMappingURL=JsonDataSource.d.ts.map