2.0.0 • Published 2 years ago

@wcjiang/whereis v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.1

5 years ago

1.0.0

7 years ago