UNPKG

node-yaml-config

Version:

Write your configuration files for node.js in yaml

15 lines 647 B
import { ConfigLoaderOptions } from './config-loader.options'; export declare class ConfigLoader { private readonly options?; private readonly loadedFiles; constructor(options?: ConfigLoaderOptions | undefined); read(filename: string): any; load(filename: string, env?: string): any; reload(filename: string, env?: string): any; readAsync(filename: string): Promise<any>; loadAsync(filename: string, env?: string): Promise<any>; reloadAsync(filename: string, env: string): Promise<any>; private getPath; } export declare const DEFAULT_CONFIG_LOADER: ConfigLoader; //# sourceMappingURL=config-loader.d.ts.map