| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > PackageJsonLookup > tryLoadNodePackageJsonFor
This function is similar to PackageJsonLookup.tryLoadPackageJsonFor()<></>, except that it does not report an error if the version field is missing from the package.json file.
Signature:
tryLoadNodePackageJsonFor(fileOrFolderPath: string): INodePackageJson | undefined;|
Parameter |
Type |
Description |
|---|---|---|
|
fileOrFolderPath |
string |
Returns:
INodePackageJson | undefined