Back to Explore
stable-hash is a tiny JavaScript library for “stably hashing” any JavaScript value, returning a string that stays consistent for the same input. It handles non-JSON values like BigInt, NaN, Symbol, functions, and circular objects, and it sorts object keys to make hashes stable. It was originally created for SWR and is useful when you need value-based identifiers for JS data that goes beyond JSON.stringify.
Project status
- The source appears to be in limited or light maintenance, with the last upstream push recorded at 2026-01-25, but the most recent detailed update I can see is version 0.0.6 dated 2025-06-02.
- Update cadence looks sparse, based on the gap between the last known update (0.0.6 in mid-2025) and the next known upstream activity (Jan 2026), with no newer update details shown since then as of today (2026-06-09).
AI summary generated
AI-generated from public sources. May be inaccurate. Report
Recent updates
0.0.6
Release 0.0.6 is a small internal refactor that replaces `==` with `===`. The change is intended to improve performance and may also affect behavior where equality comparisons previously relied on type coercion.
Breaking