Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Like which(1) unix command. Find the first instance of an executable in the PATH.
JavaScript
branch: master

This branch is 26 commits behind isaacs:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
LICENSE
README.md
package.json
which.js

README.md

The "which" util from npm's guts.

Finds the first instance of a specified executable in the PATH environment variable. Does not cache the results, so hash -r is not needed when the PATH changes.

Something went wrong with that request. Please try again.