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

ravionhq/superjson

Some data may be outdated — see provenance labels.

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

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

Health v2 · maintenance only

64/100

  • Activity 80
  • Release rhythm 23
  • Longevity 100
How is this computed?

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

  • gap_med: 163.0
  • age_days: 4312
  • days_rel: 357
  • days_push: 124
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

5280 stars · 127 forks observed · 2026-09-26

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/superjsonmain64

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem