list-installed
Version:
Checks that all dependencies in your package.json have supported versions installed
13 lines • 637 B
TypeScript
export function listInstalledGenerator(path: string, options?: ListInstalledOptions): AsyncGenerator<{
alias: string | undefined;
pkg: NormalizedPackageJson;
}>;
export function listInstalled(path: string, options?: ListInstalledOptions): Promise<Map<string, NormalizedPackageJson>>;
export class MissingPathError extends Error {
}
export type FilterCallback = (pkg: NormalizedPackageJson, alias: string | undefined) => boolean | Promise<boolean>;
export type ListInstalledOptions = {
filter?: FilterCallback;
};
export type NormalizedPackageJson = import("read-pkg").NormalizedPackageJson;
//# sourceMappingURL=list.d.ts.map