Nested Parenthetical Madness
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@wcjiang/whereis

1.0.1 • Public • Published

whereis

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
})();

Install

npm i @wcjiang/whereis

DownloadsWeekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

2.67 kB

Total Files

6

Last publish

Collaborators

  • avatar