Documentation for Simbo's Packages
    Preparing search index...

    Function findBin

    • Finds the path to a binary executable.

      Currently only supports finding binaries in local node_modules/.bin directories or globally installed binaries.

      Parameters

      • name: string

        The name of the binary to find.

      • options: Options = {}

        Options for finding the binary.

      Returns Promise<string | undefined>

      The path to the binary if found, or undefined if not.