@rnm/pm
Version:
Unified Package Manager for Node.js
7 lines • 395 B
TypeScript
/**
* Checks if the specified directory is within a project (has a package.json).
* @param directory - The absolute path to the directory to check. Defaults to current working directory.
* @returns A promise that resolves to true if a package.json is found, false otherwise.
*/
export declare function isProject(directory?: string): Promise<boolean>;
//# sourceMappingURL=is-project.d.ts.map