1.0.0 • Published 6 years ago
whereis v1.0.0
Note from maintainers: Nowadays you should use https://github.com/npm/node-which
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