Function lookup
- lookup(install: string | Install, lookupOptions?: LookupOptions): Promise<{
install: {
alias: string;
installSubpath: "." | `./${string}`;
subpath: "." | `./${string}`;
target: {
name: string;
range: string;
registry: string;
};
};
resolved: ExactPackage;
}> -
Parameters
-
install: string | Install
The install object
-
lookupOptions: LookupOptions = {}
Provider and cache defaults for lookup
Returns Promise<{
install: {
alias: string;
installSubpath: "." | `./${string}`;
subpath: "." | `./${string}`;
target: {
name: string;
range: string;
registry: string;
};
};
resolved: ExactPackage;
}> -
Generated using TypeDoc
Get the lookup resolution information for a specific install.
Returns
The resolved install and exact package { install, resolved }