UNPKG

cosmiconfig

Version:

Find and load configuration from a package.json property, rc file, TypeScript module, and more!

7 lines 295 B
interface Options { throwNotFound?: boolean; } declare function readFile(filepath: string, options?: Options): Promise<string | null>; declare function readFileSync(filepath: string, options?: Options): string | null; export { readFile, readFileSync }; //# sourceMappingURL=readFile.d.ts.map