| Crates.io | checkpoint-ts |
| lib.rs | checkpoint-ts |
| version | 0.1.2 |
| created_at | 2025-11-20 14:50:01.779484+00 |
| updated_at | 2025-11-20 14:50:01.779484+00 |
| description | Interactive checkpoint system for TypeScript/JavaScript development. Debug with TUI, inspect state, skip functions, inject values. |
| homepage | https://github.com/ErenayDev/checkpoint-ts |
| repository | https://github.com/ErenayDev/checkpoint-ts |
| max_upload_size | |
| id | 1942090 |
| size | 102,164 |
Stop rerunning 10 functions to debug the 11th.
Interactive checkpoint system for TypeScript/JavaScript development. Inspect state, skip functions, inject values, profile execution.
Like Minecraft parkour map checkpoints, but for your code
Written in Rust 🦀 | Works with Bun, Node, Deno
# Install
cargo install checkpoint-ts
# Run with checkpoints
checkpoint myfile.ts
# Use specific runtime
checkpoint myfile.ts --interpreter bun # deno, node
Checkpoint transforms your code by injecting instrumentation points at function calls and variable assignments. When execution hits a checkpoint, it pauses and opens an interactive TUI where you can:
The system uses AST analysis to identify checkpoint opportunities and maintains a serializable execution context throughout your program's runtime.
Interactive Debugging Pause execution at any function call and inspect the complete variable state without restarting your program.
Function Skipping Skip expensive function calls during debugging and use cached or manually injected return values.
State Manipulation Edit variables in real-time through the TUI and continue execution with your modifications.
Execution Profiling Measure and track execution time for each function call with millisecond precision.
Runtime Agnostic Works seamlessly with Bun, Node.js, and Deno through adaptive runtime detection.
cargo install checkpoint-ts
git clone https://github.com/ErenayDev/checkpoint-ts
cd checkpoint.ts
cargo build --release
checkpoint script.ts
checkpoint script.ts --interpreter bun
checkpoint script.ts --interpreter node
checkpoint script.ts --interpreter deno
checkpoint --instrumented script.instrumented.ts
The terminal interface provides three main views:
Checkpoint Navigator Shows current execution position, available checkpoints, and execution timeline.
State Editor Interactive table for viewing and editing variable values at the current checkpoint.
Execution Visualizer Performance metrics and execution flow visualization with timing information.
We welcome contributions! Please see our Contributing Guide for details.
Copyright (c) ErenayDev erenaydev@proton.me
This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)
Special thanks to our sponsors who make this project possible:
#1 Sponsors
#2 Sponsors
#3 Sponsors
Built with: