Options
Defined in: index.ts:111
Properties
Section titled “Properties”agent?
Section titled “agent?”readonly agent?: "npm" | "pnpm" | "yarn-classic" | "yarn-berry";Defined in: index.ts:117
directory
Section titled “directory”readonly directory: string;Defined in: index.ts:113
Project directory, containing package.json. Use the workspace root for workspace installs.
ignoreScripts?
Section titled “ignoreScripts?”readonly ignoreScripts?: boolean;Defined in: index.ts:116
Disables all dependency lifecycle scripts, including recovery installs.
userAgent?
Section titled “userAgent?”readonly userAgent?: string;Defined in: index.ts:119
Optional npm_config_user_agent supplied by the caller; used only as a fallback.