@vizcrush/aggregate
v1.0.0
Published
Streaming statistics, percentiles, and append+downsample
Maintainers
Readme
@vizcrush/aggregate
Streaming statistics, quantile sketches (DDSketch, KLL, HyperLogLog, CountMin), and append+downsample.
Part of vizcrush — high-performance data primitives for browser visualization, written in Rust, compiled to WebAssembly, with a pure-JS fallback.
Install
npm install @vizcrush/aggregateExample
import { DDSketch, streamingStats } from "@vizcrush/aggregate";
const sketch = new DDSketch(0.01); // 1% relative error
sketch.add(latencyMs);
const p99 = sketch.quantile(0.99);Documentation
Full guides and API reference: debug-diary-1.github.io/vizcrush · The vizcrush Book
License
MIT
