Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 917 Bytes

File metadata and controls

24 lines (16 loc) · 917 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > PackageJsonLookup > instance

PackageJsonLookup.instance property

A singleton instance of PackageJsonLookup<></>, which is useful for short-lived processes that can reasonably assume that the file system will not be modified after the cache is populated.

Signature:

static get instance(): PackageJsonLookup;

Remarks

For long-running processes that need to clear the cache at appropriate times, it is recommended to create your own instance of PackageJsonLookup instead of relying on this instance.