From 1227b7cec5f0cc990ff3500250d452331d183b50 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 19 Feb 2026 18:28:55 +0300 Subject: [PATCH] added links to alternatives... Signed-off-by: Alex A. Naanou --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index a8bdd24..7cb535e 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ Data not stored: - Attributes on arrays, maps, sets, and functions, - Function closures. +Note that this a strict superset of JSON, this if only JSON-supported +data is serialized the output will be strict JSON. + ## Motivation @@ -454,6 +457,22 @@ $ ./test.js -m 3 +## Alternatives + +### https://github.com/WebReflection/flatted + +A very similar library that takes a different approach to the output +format (not JSON-compatible), lacks copying utils, and does not +support function serialization, but is smaller, and adds other language +support. + + +### https://github.com/ungap/structured-clone/ + +As above but slightly different approach to things, more types, cloning. + + + ## License [BSD 3-Clause License](./LICENSE)