InstallFlags
Nodepod API / src / npm / InstallFlags
Interface: InstallFlags
Section titled “Interface: InstallFlags”Defined in: src/packages/installer.ts:82
Properties
Section titled “Properties”lockEntry?
Section titled “lockEntry?”
optionallockEntry?:object
Defined in: src/packages/installer.ts:97
Prefer lockfile tarball URL + SRI for the root package being installed.
integrity?
Section titled “integrity?”
optionalintegrity?:string
resolved?
Section titled “resolved?”
optionalresolved?:string
onProgress?
Section titled “onProgress?”
optionalonProgress?: (message) =>void
Defined in: src/packages/installer.ts:88
Parameters
Section titled “Parameters”message
Section titled “message”string
Returns
Section titled “Returns”void
persist?
Section titled “persist?”
optionalpersist?:boolean
Defined in: src/packages/installer.ts:84
persistDev?
Section titled “persistDev?”
optionalpersistDev?:boolean
Defined in: src/packages/installer.ts:85
registry?
Section titled “registry?”
optionalregistry?:string
Defined in: src/packages/installer.ts:83
transformModules?
Section titled “transformModules?”
optionaltransformModules?: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.
withDevDeps?
Section titled “withDevDeps?”
optionalwithDevDeps?:boolean
Defined in: src/packages/installer.ts:86
withOptionalDeps?
Section titled “withOptionalDeps?”
optionalwithOptionalDeps?:boolean
Defined in: src/packages/installer.ts:87