UNPKG

npm-audit-pipeline

Version:
13 lines (12 loc) 390 B
import * as E from 'fp-ts/Either'; export declare type NpmAuditorConfiguration = { shouldWarn: boolean; retry: number; info: number; low: number; moderate: number; high: number; critical: number; packageManager: 'npm' | 'yarn' | 'pnpm'; }; export declare const parseCommandLineArgs: (args: ReadonlyArray<string>) => E.Either<Error, NpmAuditorConfiguration>;