npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

@wcjiang/whereis

1.0.0 • 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

0

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability