Function getPackageConfig
- get
Package Config(pkg: string | URL | ExactPackage, lookupOptions?: LookupOptions): Promise<PackageConfig | null> -
Parameters
-
pkg: string | URL | ExactPackage
Package to lookup configuration for
-
lookupOptions: LookupOptions = {}
Optional provider and cache defaults for lookup
Returns Promise<PackageConfig | null>
-
Generated using TypeDoc
Get the package.json configuration for a specific URL or package.
Returns
Package JSON configuration
Example: