2026-01-26 01:40:48 +03:00

7 lines
218 B
TypeScript

/**
* Traverses the directory tree until a package.json file is found.
*
* @throws if the root directory is reached, and no package.json is found.
*/
export declare function readPackage(): Record<string, unknown>;