domchristie/humps
🐫 Underscore-to-camelCase converter (and vice versa) for strings and object keys in JavaScript. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5113
- days_rel: n/a
- days_push: 1056
- n_releases_24m: 0
Adoption not part of the score
1414 stars · 100 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Humps is a small JavaScript utility library that converts strings and object keys between snake_case (underscore) and camelCase, recursively handling nested objects and arrays. It is commonly used to bridge JSON between JavaScript clients and Ruby/Rails-style APIs.
Use cases
- convert snake_case JSON keys to camelCase in JavaScript
- convert camelCase object keys to snake_case before sending to a Rails API
- recursively transform nested object keys' casing
- camelize or decamelize individual strings
- customize case conversion with separators or per-key callbacks
When to choose
- you need to reconcile snake_case backend payloads with camelCase JavaScript conventions
- you want a tiny, dependency-free key-casing converter with callback customization
When to avoid
- you need an actively maintained library - the project is explicitly unmaintained
- you need case conversion outside JavaScript/Node
- you need deep object transformation beyond key casing
Facets
library · maturity abandoned
serialization parser developer-tools developer-tools web-development apis browser camelcase case-conversion json-keys ruby-on-rails unmaintained nodejs javascript
2 sources
- readme: https://github.com/domchristie/humps · fetched 2026-08-28 · acd3eb58adf5
- registry_npm: https://registry.npmjs.org/humps · fetched 2026-08-29 · 2101e9a3debf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| domchristie/humps | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="domchristie/humps")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem