@vltpkg/package-json
Classes
PackageJson
Defined in: index.ts:8
Constructors
new PackageJson()
Returns
Methods
fix()
Defined in: index.ts:101
Parameters
manifest
Returns
void
read()
Defined in: index.ts:28
Reads and parses contents of a package.json
file at a directory dir
.
reload
will optionally skip reading from the cache when set to true
.
Parameters
dir
string
__namedParameters
reload
boolean
Returns
save()
Defined in: index.ts:87
Parameters
manifest
Returns
void
write()
Defined in: index.ts:61
Parameters
dir
string
manifest
Returns
void