Home

Awesome

Note from maintainers: Nowadays you should use https://github.com/npm/node-which

node-whereis <sup>Version Badge</sup> Build Status License Downloads

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