inpath

1.0.2 • Public • Published

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

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i inpath

Weekly Downloads

39,901

Version

1.0.2

License

none

Last publish

Collaborators

  • calmh