Skip to main content
Home
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
58%
Published
a year ago (0.3.5)
/** * Serializer/Deserializer that supports everything you can imagine. * * ### Example * * ```ts * 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) * ``` * * @module */ export type { ConstructType } from "./types.ts"; export { Serializer, type SerializerOptions } from "./serializer.ts"; export { serialize, type SerializeOptions } from "./serialize.ts"; export { type ClassLoadHandler, deserialize, type DeserializeOptions, } from "./deserialize.ts"; export { toDeserialize, toSerialize } from "./symbol.ts";