async-which
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

async-which

Find binary executable path

0-dependancy TS async cross-platform utility to find path of executable

Install

NPM

npm i async-which

Yarn

yarn add async-which

Usage

import which from "async-which"
 
(async () => {
    const pathToBin = await which('node')
    console.log(pathToBin) // /Users/user/.nvm/versions/node/v8.10.0/bin/node
})()

Dependencies (0)

    Dev Dependencies (34)

    Package Sidebar

    Install

    npm i async-which

    Weekly Downloads

    74

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    25.2 kB

    Total Files

    10

    Last publish

    Collaborators

    • jafri