Skip to main content

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
2 months ago (0.0.1)
function choco
choco(
args?: CommandArgs,
options?: CommandOptions,
): ChocoCommand

Creates a new instance of the ChocoCommand class.

Parameters

optional
args: CommandArgs
  • The command arguments.
optional
options: CommandOptions
  • The command options.

Return Type

ChocoCommand

An instance of the ChocoCommand class.

Add Package

deno add @spawn/choco

Import symbol

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

Add Package

npx jsr add @spawn/choco

Import symbol

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

Add Package

yarn dlx jsr add @spawn/choco

Import symbol

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

Add Package

pnpm dlx jsr add @spawn/choco

Import symbol

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

Add Package

bunx jsr add @spawn/choco

Import symbol

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