helpyourneighbour/node_modules/@pkgr/core/lib/helpers.d.ts

6 lines
454 B
TypeScript
Raw Permalink Normal View History

2026-03-17 07:07:36 +00:00
export declare const tryPkg: (pkg: string) => string | undefined;
export declare const isPkgAvailable: (pkg: string) => boolean;
export declare const tryFile: (filename?: string[] | string, includeDir?: boolean, base?: string) => string;
export declare const tryExtensions: (filepath: string, extensions?: string[]) => string;
export declare const findUp: (searchEntry: string, searchFileOrIncludeDir?: boolean | string, includeDir?: boolean) => string;