Function getPackageManager

  • returns the package manager used in the project. will search up from the cwd, stopping at the git-root

    Parameters

    • Optional cwd: string = ...

      directory to start the search in. defaults to process.cwd();

    Returns Promise<"yarn" | "pnpm" | "npm">

Generated using TypeDoc