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

lukeed/klona

A tiny (240B to 501B) and fast utility to "deep clone" Objects, Arrays, Dates, RegExps, and more! observed · 2026-08-28

github.com/lukeed/klona · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

57/100

  • Activity 76
  • 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-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2428
  • days_rel: n/a
  • days_push: 146
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1732 stars · 48 forks observed · 2026-08-28

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

klona is a tiny (240B–501B gzipped) JavaScript utility for deep cloning objects, arrays, dates, regular expressions, maps, sets, typed arrays, and more. It ships in multiple size-optimized modes so you only bundle the cloning capability you need.

Use cases

  • deep clone a nested object in JavaScript
  • copy state without shared references in a reducer
  • clone arrays and objects faster than structuredClone
  • deep copy JSON data in a tiny bundle
  • duplicate objects with Dates, RegExps, Maps, and Sets
  • avoid shallow copy pitfalls with Object.assign

When to choose

  • you need a very small, fast, dependency-free deep clone utility
  • you want tree-shakeable modes tailored to the data types you clone
  • you target environments where structuredClone is unavailable or too slow

When to avoid

  • you need cloning of functions, class instances with private fields, or circular references
  • structuredClone or your framework's built-in cloning already covers your needs
  • you need serialization to strings rather than in-memory copies

Facets

library · maturity stable

serialization developer-tools web-development browser cross-platform deep-clone tiny-library zero-dependency immutable-copy javascript nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
lukeed/klonamain57

For agents

markdown · JSON · MCP: product_card(name="lukeed/klona")

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