Home > @rushstack/node-core-library > PackageJsonLookup > loadNodePackageJson
PackageJsonLookup.loadNodePackageJson() method
This function is similar to PackageJsonLookup.loadPackageJson(), except that it does not report an error if the version field is missing from the package.json file.
Signature:
loadNodePackageJson(jsonFilename: string): INodePackageJson;
Parameters
| Parameter | Type | Description |
|---|---|---|
| jsonFilename | string |
Returns: