Skip to main content

NpmAuditCommand

Hierarchy

Index

Constructors

constructor

  • Returns default

Properties

all

all: boolean = ...

cwd

cwd: undefined | string = ...

environment

environment: Environment = ...

excludes

excludes: string[] = ...

ignores

ignores: string[] = ...

json

json: boolean = ...

noDeprecations

noDeprecations: boolean = ...

recursive

recursive: boolean = ...

severity

severity: Severity = ...

staticpaths

paths: string[][] = ...

staticusage

usage: Usage = ...

Methods

execute

  • execute(): Promise<0 | 1>
  • Returns Promise<0 | 1>

validateAndExecute

  • validateAndExecute(): Promise<number>
  • Returns Promise<number>