sveltejs/devalue
Gets the job done when JSON.stringify can't observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- 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: 20.0
- age_days: 3098
- days_rel: 13
- days_push: 13
- n_releases_24m: 19
Adoption not part of the score
2789 stars · 93 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A JavaScript serialization library that handles values JSON.stringify cannot, such as cyclical references, Map, Set, BigInt, Dates, RegExps, and Typed Arrays. It provides stringify/parse, uneval (code generation), and async stringification of promises.
Use cases
- serialize objects with circular references
- serialize Map and Set to string
- pass rich data from server to client in SSR
- serialize BigInt and TypedArrays
- serialize data containing promises
- replace JSON.stringify for complex JavaScript values
When to choose
- you need to serialize JavaScript values JSON can't handle
- you want compact, fast, XSS-safe serialization for hydration
- you need to embed serialized data in HTML or JS output
When to avoid
- you need human-readable or stable cross-version output
- you need to serialize functions
- you only serialize plain JSON-compatible data
Facets
library · maturity active
serialization parser web-development developer-tools cross-platform json circular-references data-transfer ssr javascript nodejs
8 sources
- readme: https://github.com/sveltejs/devalue · fetched 2026-08-28 · 90f21fbd55b5
- homepage: https://svelte.dev/repl/138d70def7a748ce9eda736ef1c71239 · fetched 2026-08-29 · c7af431dbf7e
- site_page: https://svelte.dev/docs · fetched 2026-08-29 · 7c6b305ccce5
- site_page: https://svelte.dev/docs/svelte · fetched 2026-08-29 · cfbcbf33b015
- site_page: https://svelte.dev/docs/kit · fetched 2026-08-29 · 4fc3a5122aaf
- site_page: https://svelte.dev/docs/cli · fetched 2026-08-29 · ec3bba855057
- site_page: https://svelte.dev/docs/ai · fetched 2026-08-29 · 448d79bc45ed
- registry_npm: https://registry.npmjs.org/devalue · fetched 2026-08-29 · 1b0ec572de95
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sveltejs/devalue | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="sveltejs/devalue")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem