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

ravionhq/superjson

Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more. observed · 2026-08-28

github.com/ravionhq/superjson · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

70/100

  • Activity 88
  • Release rhythm 30
  • 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: 163.0
  • age_days: 4264
  • days_rel: 309
  • days_push: 76
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

5280 stars · 126 forks observed · 2026-08-28

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

Superjson is a TypeScript library that safely serializes and deserializes JavaScript values to a superset of JSON, preserving types like Date, Map, Set, and BigInt that JSON.stringify drops. It is a thin, framework-agnostic wrapper around JSON.stringify/JSON.parse with type-safe autocompletion.

Use cases

  • serialize dates and bigints to json
  • pass Date objects through Next.js getServerSideProps
  • serialize Map and Set to JSON
  • fix JSON.stringify losing types
  • type-safe json serialization in typescript
  • send rich objects over an api without manual conversion

When to choose

  • you need Date, Map, Set, BigInt, or RegExp to survive JSON round-trips
  • you hit Next.js serialization limits in getServerSideProps or getInitialProps
  • you want a drop-in JSON.stringify replacement with a tiny runtime footprint

When to avoid

  • your data is plain JSON-compatible types only
  • you need a wire format other systems can read without the superjson meta layer
  • you need binary or extremely large payload optimization

Facets

library · maturity active

serialization json developer-tools web-development backend cross-platform json-superset date-serialization bigint nextjs typescript nodejs

10 sources

Member repositories

RepositoryRoleHealth v2
ravionhq/superjsonmain70

For agents

markdown · JSON · MCP: product_card(name="ravionhq/superjson")

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