UNPKG

what-pm

Version:

Detects what package manager was used for installation

12 lines (8 loc) 285 B
export declare function whatPM(pkgPath: string): Promise<WhatPMResult | null>; export declare interface WhatPMResult { name: string; version: string; isWorkspace: boolean; } export declare function whatPMSync(pkgPath: string): WhatPMResult | null; export { }