UNPKG

@ayanaware/logger

Version:

Useful and great looking logging made easy

16 lines (15 loc) 424 B
/// <reference types="node" /> import * as fs from 'fs'; /** * @ignore */ export declare class PackageDetector { readonly packageCache: Map<string, any>; getRootOf(directory: string): string; getInfo(rootDir: string): any; getCallerFile(position?: number): any; readdirSync(dirPath: fs.PathLike): string[]; readFileSync(filePath: fs.PathLike, options: { encoding: 'utf8'; }): string; }