UNPKG

carrot-scan

Version:

Command-line tool for detecting vulnerabilities in files and directories.

7 lines (5 loc) 241 B
import { ScanResult } from '@carrot-scan/core'; export function useCarrotScan( target: string | string[], options?: { mode?: 'fast' | 'complete'; json?: boolean } ): { result: ScanResult | null; error: Error | null; loading: boolean };