Generated API reference for @rekhly/data →
@rekhly/dataTyped-array buffers, pooling, downsampling, and level-of-detail for Rekhly Visuals. Downsampling never mutates source arrays.
import { DataBuffer, downsampleLttb, applyLod } from "@rekhly/data";
DataBuffer — typed storage for series data.BufferPool / defaultBufferPool — reusable typed-array pooling sohigh-frequency updates don't churn the allocator.
downsampleAverage, downsampleEnvelope, downsampleFirstLast, downsampleLttb, downsamplePixelAware — downsampling algorithms; downsampleOffThread runs them on a worker when one can be spawned.
applyLod, applyLodView, selectLodLevel, lodForViewport — level-of-detail selection driven by the current viewport.
PerformanceMonitor — HUD-facing frame/sample statistics.series data actually moves; React only holds a handle to it.
Got any questions? I'm happy to help with products, licensing, and examples.