Installation
chartlet ships as a CLI and crate on crates.io and as an npm package with a WebAssembly build. All three use the same renderer.
cargo install chartletTo build from a clone of the repository instead, run cargo install --path ..
npm install @casoon/chartletThe package carries the renderer as WebAssembly; it needs no Rust toolchain. To render with an
installed CLI instead, set CHARTLET_BIN to its path.
cargo add chartletCaution
Until 1.0, a minor release (0.2, 0.3, …) may change the specification. Pin the minor version
(chartlet = "0.23", "@casoon/chartlet": "~0.23.0") to take only patch releases.
Requirements
| Package | Requirement |
|---|---|
| CLI and crate | Rust 1.88 or newer |
@casoon/chartlet |
Node.js 22.12 or newer; Astro 6 or newer for the component |
Next steps
Continue with the Quickstart.