Skip to main content
Home

Built and signed on GitHub Actions

The `choco` module provides a simple way to execute choco commands.

This package works with Node.js, Deno, Bun
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
100%
Published
a year ago (0.0.1)

Overview

The choco module provides a simple way to execute choco commands.

The module relies upon the @gnome/exec module and has the same basic usage as the Command and ShellCommand class.

Basic Usage

import { choco } from "@spawn/choco";

const result = choco("--version");
console.log(result.code);
console.log(result.text());

MIT License

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@spawn/choco

Import symbol

import * as choco from "@spawn/choco";
or

Import directly with a jsr specifier

import * as choco from "jsr:@spawn/choco";

Add Package

pnpm i jsr:@spawn/choco
or (using pnpm 10.8 or older)
pnpm dlx jsr add @spawn/choco

Import symbol

import * as choco from "@spawn/choco";

Add Package

yarn add jsr:@spawn/choco
or (using Yarn 4.8 or older)
yarn dlx jsr add @spawn/choco

Import symbol

import * as choco from "@spawn/choco";

Add Package

vlt install jsr:@spawn/choco

Import symbol

import * as choco from "@spawn/choco";

Add Package

npx jsr add @spawn/choco

Import symbol

import * as choco from "@spawn/choco";

Add Package

bunx jsr add @spawn/choco

Import symbol

import * as choco from "@spawn/choco";