Function: getPackage()
getPackage<
T>(path?):Promise<T>
Retrieves the contents of a package.json file.
Type Parameters
T
T = any
Parameters
path?
string
The path to the package.json file. If not provided, the current working directory will be used.
Returns
Promise<T>
A promise that resolves to the parsed contents of the package.json file.
