UNPKG

@skarab/detect-package-manager

Version:

Detects which package manager (bun, pnpm, yarn, npm) is used based on the current working directory.

7 lines (6 loc) 220 B
/// <reference types="node" resolution-mode="require"/> import { exec } from 'node:child_process'; /** * Promisified version of child_process {@link exec}. */ export declare const execAsync: typeof exec.__promisify__;