{"library":"hdr-histogram-js","type":"library","category":null,"description":"HdrHistogram.js is a TypeScript port of the HdrHistogram library, designed for high-fidelity recording and analysis of latency and other value distributions in both Node.js and web browser environments. The library is currently stable at version 3.0.1, with a history of regular updates including significant architectural changes. A key differentiator since version 2 is the introduction of an optional WebAssembly (WASM) implementation, leveraging AssemblyScript to provide substantial performance gains for recording and processing histograms, though this is not enabled by default. It supports core HdrHistogram features such as regular and coordinated omission-corrected latency recording, resizable and memory-optimized 'packed' histograms, and the ability to add, subtract, encode, and decode compressed histograms. It also includes client-side data visualization tools for browser-based analysis. Release cadence appears to be driven by feature enhancements and performance optimizations, with major versions often introducing substantial improvements.","language":"javascript","status":"active","version":"3.0.1","tags":["javascript","hdr-histogram","hdr-histogram-js","percentiles","monitoring","latency","performance","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hdr-histogram-js","imports":["import * as hdr from 'hdr-histogram-js'","import { build } from 'hdr-histogram-js'","import { Histogram } from 'hdr-histogram-js'","const hdr = require('hdr-histogram-js')"]},{"cmd":"yarn add hdr-histogram-js","imports":[]},{"cmd":"pnpm add hdr-histogram-js","imports":[]}],"homepage":"http://hdrhistogram.org","github":"https://github.com/HdrHistogram/HdrHistogramJS","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hdr-histogram-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/hdr-histogram-js/compatibility"}}