Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to combine "DryMongoBinary" & "MongoBinaryDownload"

Hierarchy

  • MongoBinary

Index

Constructors

Methods

Constructors

constructor

Methods

Static download

  • download(options: Required<MongoBinaryOpts>): Promise<string>

Static getPath

  • getPath(opts?: MongoBinaryOpts): Promise<string>
  • Probe all supported paths for an binary and return the binary path

    throws

    {Error} if no valid BinaryPath has been found

    Parameters

    • opts: MongoBinaryOpts = {}

      Options configuring which binary to search for

    Returns Promise<string>

    The first found BinaryPath

Generated using TypeDoc