UNPKG

@rnm/pm

Version:

Unified Package Manager for Node.js

11 lines 323 B
type SupportedPm = "npm" | "yarn" | "pnpm"; interface DetectResult { name: SupportedPm; version?: string; } export declare function main({ forceTo, onDetected, }: { forceTo?: SupportedPm; onDetected?: (pm: DetectResult | undefined) => void; }): Promise<number>; export {}; //# sourceMappingURL=main.d.ts.map