Skip to content

InstallFlags

Nodepod API


Nodepod API / src / npm / InstallFlags

Defined in: src/packages/installer.ts:82

optional lockEntry?: object

Defined in: src/packages/installer.ts:97

Prefer lockfile tarball URL + SRI for the root package being installed.

optional integrity?: string

optional resolved?: string


optional onProgress?: (message) => void

Defined in: src/packages/installer.ts:88

string

void


optional persist?: boolean

Defined in: src/packages/installer.ts:84


optional persistDev?: boolean

Defined in: src/packages/installer.ts:85


optional registry?: string

Defined in: src/packages/installer.ts:83


optional transformModules?: boolean | "eager"

Defined in: src/packages/installer.ts:95

Module transform timing. Default is lazy: install only downloads and extracts; the runtime module loader converts ESM/CJS on first require() (and caches it). Pass “eager” (or the legacy true) to run esbuild over every installed file at install time like before.


optional withDevDeps?: boolean

Defined in: src/packages/installer.ts:86


optional withOptionalDeps?: boolean

Defined in: src/packages/installer.ts:87