pompelmi
Version:
RFI-safe file uploads for Node.js — Express/Koa/Next.js middleware with deep ZIP inspection, MIME/size checks, and optional YARA scanning.
15 lines (14 loc) • 765 B
TypeScript
export { scanFiles } from './scan';
export { validateFile } from './validate';
export { useFileScanner } from './useFileScanner';
export type { YaraMatch } from './yara/index';
export type { NodeScanOptions, NodeFileEntry } from './node/scanDir';
export { scanFilesWithRemoteYara } from './scan/remote';
export * from './types';
export { mapMatchesToVerdict } from './verdict';
export { CommonHeuristicsScanner } from './scanners/common-heuristics';
export { createZipBombGuard } from './scanners/zip-bomb-guard';
export { definePolicy, DEFAULT_POLICY } from './policy';
export { createPresetScanner, composeScanners, type PresetName, type PresetOptions } from './presets';
export { scanBytes, scanFile, type ScanOptions } from './scan';
export * from "./presets";