/node-which

Like which(1) unix command. Find the first instance of an executable in the PATH.

Primary LanguageJavaScriptMIT LicenseMIT

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.