跳到內容

execPrefix

本頁內容尚未翻譯。

function execPrefix(
agent: "npm" | "pnpm" | "yarn-classic" | "yarn-berry",
): string

Defined in: index.ts:249

What runs a dependency’s executable, such as npx in npx graft schema.

Parameter Type
agent "npm" | "pnpm" | "yarn-classic" | "yarn-berry"

string