Skip to main content
Home
This release is 4 versions behind 1.0.1 — the latest version of @codemonument/puppet-process. Jump to latest

Built and signed on GitHub Actions

Works with
This package works with DenoIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Deno
JSR Score94%
Downloads1/wk
Publisheda year ago (0.1.0)

A wrapper around the native subcommand execution apis of deno (later: bun, node) to easily automate cli processes from the outside.

Puppet Process

A wrapper around the native subcommand execution apis of deno (later: bun, node) to easily automate cli processes from the outside.

Provides (planned):

  • Mode 1: One-Shot Command execution

    • starts the command, returns a promise and waits for it to finish
    • returns all sort of information about the command (stdout, stderr, exit code, etc.)
  • Mode 2:Interactive Command execution

  • start a command and get some sort of "session" object to interact with it

  • send input to the command

  • receive output from the command as Uint8Array or string lines

Example cli: sftp

Ideas

Built and signed on
GitHub Actions

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:@codemonument/puppet-process

Import symbol

import * as puppet_process from "@codemonument/puppet-process";
or

Import directly with a jsr specifier

import * as puppet_process from "jsr:@codemonument/puppet-process";