Skip to main content
This release is 1 version behind 0.0.1 — the latest version of @spawn/choco. Jump to latest

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
3 months ago (0.0.0)

@spawn/choco

logo Work less. Do more.

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
View transparency log

Add Package

deno add jsr:@spawn/choco

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @spawn/choco

Import symbol

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

Add Package

yarn dlx jsr add @spawn/choco

Import symbol

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

Add Package

pnpm dlx jsr add @spawn/choco

Import symbol

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

Add Package

bunx jsr add @spawn/choco

Import symbol

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