1.0.2 • Published 12 years ago

inpath v1.0.2

Weekly downloads
8,625
License
-
Repository
github
Last release
12 years ago

inpath

build status

Find an executable in the $PATH.

Example

var inpathSync = require('inpath').sync;

var env = inpathSync('env');
console.log(env); // => /usr/bin/env

var none = inpathSync('4A87553D-6BAC-42EE-A699-BAF7830E453A');
console.log(none); // => null

License

2-Clause BSD