inpath
Find executable in path
Last updated 14 years ago by calmh .
Repository · Original npm · Tarball · package.json
$ npm install inpath 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.2                                ...           latest (14 years ago)

3 Versions

  • 1.0.2                                ...           14 years ago
  • 1.0.1                                ...           14 years ago
  • 1.0.0                                ...           14 years ago
Maintainers (1)
Downloads
Total 12
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 4
Last Month 6
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE