@appruut/config
Version:
Config file manager for Node.js
12 lines (11 loc) • 464 B
TypeScript
/// <reference path="../typings/config.d.ts" />
import { ConfigContract } from "@app::Appruut/Core/Config";
export declare class Config implements ConfigContract {
private config;
constructor(config?: {});
all(): {};
get(key: string, defaultValue?: any): any;
merge(key: string, defaultValues: object, customizer?: (...args: any[]) => any): any;
defaults(key: string, value: any): void;
set(key: string, value: any): void;
}