SuperJSON
A serializer that preserves JavaScript values beyond plain JSON types.
What it does
A serializer that preserves JavaScript values beyond plain JSON types.
When it fits
Moving dates and other richer values between application layers.
Other options in this category
- devalue — Transferring structured application state across server and client boundaries.
- fast-json-stringify — Serializing known response shapes in performance-sensitive server code.
Source
Project source for SuperJSON ↗
Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.