Skip to main content
Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
58%
Published
a month ago (0.3.5)

Serializer/Deserializer that supports everything you can imagine.

Example

import { Serializer } from "https://deno.land/x/superserial/mod.ts";

const serializer = new Serializer();

const data = new Set();
data.add(data); // set referencing itself

const serialized = serializer.serialize(data);

console.log(serialized); // Set($0)

Add Package

deno add @denostack/superserial

Import symbol

import * as mod from "@denostack/superserial";

Add Package

npx jsr add @denostack/superserial

Import symbol

import * as mod from "@denostack/superserial";

Add Package

yarn dlx jsr add @denostack/superserial

Import symbol

import * as mod from "@denostack/superserial";

Add Package

pnpm dlx jsr add @denostack/superserial

Import symbol

import * as mod from "@denostack/superserial";

Add Package

bunx jsr add @denostack/superserial

Import symbol

import * as mod from "@denostack/superserial";