# puleos/object-hash

Generate hashes from javascript objects in node and the browser.

Repository: https://github.com/puleos/object-hash
Canonical: https://ross.abutalabs.com/products/object-hash
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-07-23T00:23:59+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4563, "days_push": 772, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1474, forks 146 (observed 2026-08-28T04:04:49.676659+00:00)

## What it is
A JavaScript library that generates hashes from arbitrary JavaScript objects, working in both Node.js and the browser. It supports hashing algorithms like SHA1 and MD5 and handles nested object structures deterministically.

## Use cases
- generate a hash from a javascript object
- compare two objects for equality by hashing them
- create cache keys from object contents
- detect changes in object state
- hash objects in the browser and node consistently

## When to choose
- you need deterministic hashes of JS object structures
- you want a small dependency-free hashing utility usable in node and browser

## When to avoid
- you need cryptographic security guarantees against collisions
- you need to hash non-serializable values like functions with side effects

## Facets
- artifact type: library
- maturity: stable
- function: serialization, cryptography
- domain: developer-tools, web-development
- platform: browser
- tags: object-hash, hashing, sha1, md5, javascript, algorithms, nodejs

## Member repositories
- puleos/object-hash (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.676659+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:34:34.074351+00:00, confidence not recorded.
  - registry_npm: https://registry.npmjs.org/object-hash (fetched 2026-08-29T11:42:19.778078+00:00, sha 4dff99e15cdf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
