Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/easy_std/src/deps.ts>which

Generic Deno standard library, focused on ease of use | 通用 Deno 标准库,专注于易用性
Go to Latest
function which
import { which } from "https://deno.land/x/easy_std@v0.2.1/src/deps.ts";

Finds the path to the specified command asynchronously.

Parameters

command: string
optional
environment: Omit<Environment, "statSync"> = [UNSUPPORTED]