@wcjiang/whereis
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

whereis

CI npm version Coverage Status

Like the unix which utility.

Simply get the first path to a bin on any system.

Install

npm install @wcjiang/whereis --save

Usage

const whereis = require('@wcjiang/whereis');

(async () => {
  const where = await whereis('ls');
  console.log('where:', where);
  // => /bin/ls
})();

Contributors

As always, thanks to our amazing contributors!

Made with action-contributors.

License

Licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i @wcjiang/whereis

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

3.64 kB

Total Files

4

Last publish

Collaborators

  • wcjiang