whereisSync
Simply get the first path to a bin on any system by sync
you should know
this project copyed from https://github.com/vvo/node-whereis but I removed whereis cmd from it.
note
you can't use it to find files except binfile or execfile.
install
npm install whereissync --save
how to use
var whereis = ;var result = ;console;// /usr/bin/wget
what is result
A Object contains two property, meta type like:
err: Object // or Error path: String // bin path or null