2.0.0 • Published 1 month ago

@wcjiang/whereis v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

whereis

Buy me a coffee 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.

1.1.1

1 month ago

2.0.0

1 month ago

1.1.0

9 months ago

1.0.1

4 years ago

1.0.0

6 years ago