UNPKG

@creditkarma/dynamic-config

Version:

Dynamic Config for Node.js backed by Consul and Vault

6 lines (5 loc) 384 B
export declare function fileExists(filePath: string): Promise<void>; export declare function readFile(filePath: string): Promise<string>; export declare function parseContent<T>(content: string): Promise<T>; export declare function findFile(filePath: string, paths: Array<string>): string | null; export declare function findDir(dirName: string, paths: Array<string>): string | null;