read-package.d.ts 218 B

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