findPackage.d.ts
372 Bytes
import { Options } from '../types';
/**
* Finds the package file and data.
*
* Searches as follows:
* --packageData flag
* --packageFile flag
* --stdin
* --findUp
*
* @returns Promise<PkgInfo>
*/
declare function findPackage(options: Options): Promise<[string | (import("../types").PackageFile & string), string | null | undefined]>;
export default findPackage;