Modules | @vltpkg/package-json
Classes
PackageJson
Constructors
new PackageJson()
Returns
Methods
read()
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 = {}
• __namedParameters.reload?: boolean
Returns
Defined in
index.ts:27
save()
Parameters
• manifest: Manifest
Returns
void
Defined in
index.ts:85
write()
Parameters
• dir: string
• manifest: Manifest
Returns
void
Defined in
index.ts:60