# hashie/hashie

Hashie is a collection of classes and mixins that make Ruby hashes more powerful.

Repository: https://github.com/hashie/hashie
Canonical: https://ross.abutalabs.com/products/hashie
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, hash-extensions, hacktoberfest
Last push: 2026-08-25T22:09:23+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 30, longevity 100
- inputs: {"age_days": 6138, "days_push": 8, "days_rel": 252, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3035, forks 314 (observed 2026-08-28T04:07:39.067818+00:00)

## What it is
Hashie is a Ruby gem providing a collection of classes and mixins that extend Ruby's Hash with powerful features like method access, key indifference, coercion, and deep operations. It includes ready-made classes such as Mash, Dash, Trash, Clash, and Rash for structured hash-like objects.

## Use cases
- access hash keys with method syntax in ruby
- treat string and symbol keys interchangeably
- define typed hash objects with required properties and defaults
- coerce hash values to specific types
- deep merge, deep fetch, or deep find in nested hashes
- translate keys when mapping api responses into objects

## When to choose
- you want richer, more ergonomic hash behavior in a Ruby project
- you need structured, validated hash-like objects without a full ORM
- you are wrapping JSON APIs and want convenient attribute access

## When to avoid
- you want plain, predictable Ruby hashes with no monkey-patched behavior
- performance-critical code where extension overhead matters
- you need full object modeling with database persistence

## Facets
- artifact type: library
- maturity: stable
- function: serialization, developer-tools
- domain: developer-tools, programming-languages
- platform: ruby
- tags: hash-extensions, mash, dash, ruby-gem, data-structures

## Member repositories
- hashie/hashie (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:39.067818+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-29T18:46:51.329937+00:00, confidence not recorded.
  - readme: https://github.com/hashie/hashie (fetched 2026-08-28T04:07:39.067818+00:00, sha 581d5ad81cbf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
