Function findNpmBinPath

  • Finds the path to an npm package executable bin by searching in all ancestor node_modules/.bin folders, starting at the given startPath.

    Parameters

    • __namedParameters: { binName: string; startPath: string }

    Returns undefined | string