Skip to main content

NpmInfoCommand

Hierarchy

Index

Constructors

constructor

  • Returns default

Properties

cwd

cwd: undefined | string = ...

fields

fields: undefined | string = ...

json

json: boolean = ...

packages

packages: string[] = ...

staticpaths

paths: string[][] = ...

staticusage

usage: Usage = ...

Methods

execute

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

validateAndExecute

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