Skip to main content

Clone plain JSON value faster than the fastest.

Works with
This package works with Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
100%
Published
2 months ago

fast-json-clone is a tiny library to clone JSON values in pure JavaScript focusing on the speed. According to the benchmark, this package seems the fastest among several deep-clone implementations.

Please visit the repository page for more details:

https://github.com/rhysd/fast-json-clone

Add Package

deno add @rhy/fast-json-clone

Import symbol

import * as mod from "@rhy/fast-json-clone";

Add Package

npx jsr add @rhy/fast-json-clone

Import symbol

import * as mod from "@rhy/fast-json-clone";

Add Package

yarn dlx jsr add @rhy/fast-json-clone

Import symbol

import * as mod from "@rhy/fast-json-clone";

Add Package

pnpm dlx jsr add @rhy/fast-json-clone

Import symbol

import * as mod from "@rhy/fast-json-clone";

Add Package

bunx jsr add @rhy/fast-json-clone

Import symbol

import * as mod from "@rhy/fast-json-clone";