Skip to content

link-foundation/command-stream

Repository files navigation

command-stream

JavaScript package Rust crate License GitHub stars

Command-stream provides stream-oriented shell command execution APIs in two language implementations:

  • JavaScript package: Bun and Node.js package published to npm as command-stream.
  • Rust crate: Rust library and binary published to crates.io as command-stream.

Both implementations focus on shell-like command execution, real-time output handling, pipeline support, and cross-platform behavior. Language-specific API examples, package-manager instructions, release notes, and best practices live with each package.

Repository Layout

Path Purpose
js/ JavaScript package source, tests, docs, and CI/CD scripts.
rust/ Rust crate source, tests, docs, and CI/CD scripts.
docs/ Repository-level investigations and case studies.
.github/ GitHub workflow definitions and deployment notes.

Releases

JavaScript and Rust releases are independent:

  • JavaScript workflow: .github/workflows/js.yml
  • Rust workflow: .github/workflows/rust.yml
  • JavaScript GitHub release tags: js-v<version>
  • Rust GitHub release tags: rust-v<version>

Development

Run language-specific checks from the language folders:

cd js
bun install
bun run test
bun run check
cd rust
cargo fmt --all -- --check
cargo clippy --all-targets --all-features
cargo test --all-features

License

Command-stream is released under the Unlicense.

About

$treamable commands executor

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors