Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ndeno/src/deps.ts>which

Command line tool created by deno to manage node projects | deno 实现的 node 项目包管理命令工具
Go to Latest
function which
import { which } from "https://deno.land/x/ndeno@v1.4.5/src/deps.ts";

Finds the path to the specified command asynchronously.

Parameters

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