Beejs
JavaScript, executed by V8 under Rust control.
Beejs is an evolving JavaScript/TypeScript runtime. Public v0.1 focuses on a predictable CLI, script execution, TypeScript transpilation, and a tested core compatibility surface.
- Engine
- V8
- Host
- Rust
- Version
- 0.1.0
- License
- MIT
const runtime: string = "Beejs"23console.log("Hello from", runtime)A focused runtime core before a bigger promise.
Beejs is useful for exploring runtime internals, executing scripts, trying TypeScript workflows, and contributing to compatibility work. It is not yet a complete production replacement for Node.js, Bun, or Deno.
Verified in this release
- Default Rust + V8 execution path
- JavaScript files and snippet evaluation
- TypeScript / TSX transpilation before execution
- REPL and Jest-style test commands
One CLI for practical script workflows.
Every capability below follows the default Cargo build, current CLI, and executable tests.
V8 execution core
Rust owns the V8 isolate, context lifecycle, and JavaScript execution result.
$bee run app.jsTypeScript path
The CLI reads .ts and .tsx files, transpiles them, then passes JavaScript to V8.
$bee run app.tsDeveloper CLI
Run, eval, repl, test, bundle, serve, and lightweight package commands share one interface.
$bee eval "1 + 1"Compatibility layers
Selected Node.js modules and Web APIs expand behind executable compatibility tests.
$bee testA readable path from source file to result.
These four stages describe one real execution in order, not a decorative feature list.
Input
JavaScript, TypeScript, or TSX source
Prepare
TypeScript source is transpiled first
Execute
The Rust-managed V8 runtime runs the code
Return
The CLI prints the result or a clear error
Build from source or use a published release.
Beejs is MIT licensed. Release automation targets macOS Intel, Apple Silicon, and Linux x86_64; other platforms can build from source.
git clone https://github.com/zh30/beejs.gitcd beejs && cargo build --release./target/release/bee eval "1 + 1"Know the boundaries before evaluating Beejs.
Official links
Use these canonical links for citations, installation, source review, privacy checks, and support.
Run it. Read the source. Help shape the runtime.
Beejs v0.1 is an honest core release with a clear scope, open implementation, and room for runtime contributors.