@vizcrush/transform
v1.0.0
Published
Sort, filter, normalize on typed arrays
Maintainers
Readme
@vizcrush/transform
Sort, normalize, filter, and log/power transforms on typed arrays.
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/transformExample
import { normalize, log10Transform } from "@vizcrush/transform";
const scaled = await normalize(await log10Transform(values)); // [0, 1] on a log axisDocumentation
Full guides and API reference: debug-diary-1.github.io/vizcrush · The vizcrush Book
License
MIT
