ticker-wasm
v0.1.1
Published
WebAssembly bindings for Ticker — embeds the engine in a Web Component.
Maintainers
Readme
ticker
Ticker is a terminal-based spreadsheet built around ticks — discrete time
steps. Every row is a tick; every column is a variable that holds a value or
a formula, and formulas can reference other ticks with relative offsets. The
workspace has three native crates — ticker-core (engine), ticker-cl
(crossterm TUI), and ticker-mac (egui GUI) — plus a fourth, ticker-wasm,
which compiles the engine to WebAssembly and ships a <ticker-widget> Web
Component on npm.
Embed in a web page
<ticker-widget preset="mortgageCalc" style="height:100vh"></ticker-widget>
<!-- Always-latest: great for experiments. -->
<script type="module" src="https://unpkg.com/ticker-wasm@latest/widget.js"></script>
<!-- Pin to an exact version for production:
<script type="module" src="https://unpkg.com/[email protected]/widget.js"></script>
-->See ticker-wasm/README.md for the full attribute
reference, CDN pinning variants, and bundler recipes.
More
ticker-wasm/README.md— Web Component and low-level wasm bridge.user_docs/— guides for the native TUI.docs/— design notes and specs.
