@mikeyt23/node-cli-utils
    Preparing search index...

    Function which

    • This is a cross-platform method to get the location of a system command. Useful for checking if software is installed, where it's installed and whether there are multiple locations.

      Parameters

      • commandName: string

        The name of the command to find

      Returns Promise<WhichResult>

      The location of the command, any additional locations, and an error if one occurred