UNPKG

458 BTypeScriptView Raw
1import type { PackageJson } from 'pkg-types';
2export declare function isDir(filename: string): boolean;
3export declare function isWritable(filename: string): boolean;
4export declare function md5(content: string, len?: number): string;
5export declare function detectLegacySyntax(code: string): RegExpMatchArray | null;
6export declare function isObject(val: any): boolean;
7export declare function readNearestPackageJSON(path: string): PackageJson | undefined;