Skip to main content

Home > @microsoft/api-extractor > IExtractorConfigPrepareOptions > packageJsonFullPath

IExtractorConfigPrepareOptions.packageJsonFullPath property

The absolute path of the file that the packageJson object was loaded from, or undefined if API Extractor was invoked without a package.json file.


packageJsonFullPath: string | undefined;


This is used for error messages and when resolving paths found in package.json.

If packageJsonFullPath is specified but packageJson is omitted, the file will be loaded automatically.