@nodesecure/scanner
Version:
A package API to run a static analysis of your module's dependencies.
10 lines • 371 B
TypeScript
/**
* This implementation take inspiration from npq
* @see https://github.com/lirantal/npq/blob/c11e5425707ae992fcd6fb0878abe01ccd77399b/lib/marshalls/typosquatting.marshall.js#L23
*/
export declare class TopPackages {
#private;
loadJSON(): Promise<void>;
getSimilarPackages(packageName: string): string[];
}
//# sourceMappingURL=TopPackages.class.d.ts.map