Home > @microsoft/node-core-library > IPackageJsonLookupParameters

IPackageJsonLookupParameters interface

Constructor parameters for PackageJsonLookup

Signature:

export interface IPackageJsonLookupParameters 

Properties

Property Type Description
loadExtraFields boolean Certain package.json fields such as “contributors” can be very large, and may significantly increase the memory footprint for the PackageJsonLookup cache. By default, PackageJsonLookup only loads a subset of standard commonly used fields names. Set loadExtraFields=true to always return all fields.