Skip to content
Simply get the first path to a bin on any system
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
index.js
package.json
test.js

README.md

node-whereis

Simply get the first path to a bin on any system

var whereis = require('whereis');
whereis('wget', function(err, path) {
  console.log(path);
});
// /usr/bin/wget

Build Status

Something went wrong with that request. Please try again.