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.
| 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. |
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>
Run language-specific checks from the language folders:
cd js
bun install
bun run test
bun run checkcd rust
cargo fmt --all -- --check
cargo clippy --all-targets --all-features
cargo test --all-featuresCommand-stream is released under the Unlicense.