Go to repository
Internal

Function getBinFile

Returns the bin file for a given package and binary file.

Parameters

  • packageJsonPath: string

    The path of the requested package's package.json

  • packageRootDir: string

    The path to root of the package that contains the binary directory

  • binName: string

    The name of the binary that we want the path of.

Returns string

The path to the binary file.