Issues and pull requests on this repository may not be acted on in a timely manner, or at all. You are of course welcome to use it anyway. You are even more welcome to fork it and maintain the results.
Find an executable in the $PATH
.
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
MIT