ReadPackageJsonOptions
Defined in: read-package-json.ts:9
Options for readPackageJsonSync.
Properties
Section titled “Properties”readFile?
Section titled “readFile?”
optionalreadFile?: (path) =>string
Defined in: read-package-json.ts:11
Replaces the file read — for callers with an injected or in-memory filesystem.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string