mirror of
https://github.com/calmh/node-inpath.git
synced 2026-07-17 01:35:01 +00:00
[UNMAINTAINED] Find an executable in the $PATH.
- JavaScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| lib | ||
| test | ||
| .gitignore | ||
| .travis.yml | ||
| example.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
This project is not actively maintained
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.
inpath
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

