Function: packageManager()
packageManager(
userAgent?):"pnpm"|"npm"
Defined in: scaffold.ts:160
The package manager that invoked us, read from npm_config_user_agent — so pnpm create installs with pnpm and npm create with npm. Defaults to npm.
Parameters
userAgent?
string | undefined
Returns
"pnpm" | "npm"