Attempts to find the nearest package.json via getPackage then passes the results to formatPackage.
getPackage
formatPackage
The package query options.
Formatted package.json or undefined.
Attempts to find the nearest package.json via
getPackage
then passes the results toformatPackage
.