Skip to content

ReadPackageJsonOptions

Defined in: read-package-json.ts:9

Options for readPackageJsonSync.

optional readFile?: (path) => string

Defined in: read-package-json.ts:11

Replaces the file read — for callers with an injected or in-memory filesystem.

string

string