hdr-histogram-js provides high-performance, lock-free approximate histograms in JavaScript. It efficiently tracks value distributions, offering insights into latency or performance data. Leveraging the HdrHistogram concepts, it provides configurable precision and memory usage, making it suitable for real-time analysis in Node.js or browsers. The library enables calculating percentiles, mean, standard deviation, and other statistical measures, crucial for performance monitoring and optimization within applications.
The npm package hdr-histogram-js has seen sporadic releases. Initial activity peaked in March 2018 with 5 versions. Releases occurred in late 2017, early 2020, mid-2020, and late 2021. After a long pause, one version was released in June 2025. Overall, the package demonstrates inconsistent release patterns with extended periods of inactivity.
hdr-histogram-js downloads show a general decline from March 2024's peak of 8.6 million to August 2025's 4.6 million. There are some fluctuations, but the overall trend is downwards. September 2025's partial data shows a significant drop, likely due to incomplete month data.