UNPKG

@nodesecure/scanner

Version:

A package API to run a static analysis of your module's dependencies.

26 lines 764 B
import type { ManifestProbeExtractor, ProbeExtractorManifestParent } from "../payload.ts"; import type { DependencyVersion } from "../../types.ts"; export type SizeResult = { size: { all: string; internal: string; external: string; }; }; export interface SizeOptions { organizationPrefix?: string; } export declare class Size implements ManifestProbeExtractor<SizeResult> { #private; level: "manifest"; constructor(options?: SizeOptions); next(_: string, version: DependencyVersion, parent: ProbeExtractorManifestParent): void; done(): { size: { all: string; internal: string; external: string; }; }; } //# sourceMappingURL=SizeExtractor.class.d.ts.map