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

x/helix/mod.ts>runNpmCommand

Helix is a simple wrapper for NPM commands written in Deno
Latest
function runNpmCommand
import { runNpmCommand } from "https://deno.land/x/helix@v1.1.0/mod.ts";

Runs a NPM command.

Parameters

commandArgs: string[]

Command to be run, e.g. fund

optional
dir: string

Directory for context

Returns

Promise<boolean>