Ross ROSS = Recommend OSS · open-source software intelligence for agents

hughsk/flat

:steam_locomotive: Flatten/unflatten nested Javascript objects observed · 2026-08-28

github.com/hughsk/flat · JavaScript · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

56/100

  • Activity 73
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5080
  • days_rel: n/a
  • days_push: 167
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1816 stars · 197 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A small JavaScript library that flattens nested objects into single-level objects with delimited keys and reversibly unflattens them back. It supports custom delimiters, array preservation, depth limits, and key transformation.

Use cases

  • flatten nested javascript objects
  • convert nested to flat key-value pairs
  • unflatten delimited keys back into nested objects
  • prepare nested config objects for environment variables
  • preserve arrays while flattening objects
  • limit flattening depth of deeply nested data

When to choose

  • you need reversible flattening of nested JS objects in Node.js or the browser
  • you want configurable delimiters, array safety, and max depth options
  • you need a tiny, well-established utility with no dependencies

When to avoid

  • you need to flatten deeply nested structures into other formats like CSV or tables
  • you are working outside the JavaScript ecosystem
  • you need schema-aware or streaming transformation of very large datasets

Facets

library · maturity stable

serialization developer-tools developer-tools files flatten unflatten nested-objects object-manipulation nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
hughsk/flatmain56

For agents

markdown · JSON · MCP: product_card(name="hughsk/flat")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem