ohash is a fast, framework-agnostic, zero-dependency JavaScript library for generating deterministic hash strings from objects. It efficiently handles complex data structures including nested objects and arrays, ensuring consistent hash values for identical content regardless of key order. Ideal for caching strategies, data integrity checks, and creating unique identifiers based on object content. ohash outperforms naive stringification methods, offering significant performance improvements, especially for large or complex objects.
The ohash npm package had sporadic releases between March 2022 and September 2025. A flurry of releases occurred in March and July 2022, followed by occasional updates. The version 1.x releases occurred between November 2022 and September 2024. February and March of 2025 saw a concentrated release of version 2.x. There have been no releases from April 2025 to September 3, 2025.
Ohash npm package downloads show a strong upward trend. From March 2024 to August 2025, downloads steadily increased, peaking at over 32 million in August 2025. September 2025's partial data indicates a potentially lower download count compared to the previous month.