Skip to main content
Home

Clone plain JSON value faster than the fastest.

This package works with Node.js, Deno, Bun, BrowsersIt is unknown whether this package works with Cloudflare Workers
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 Bun
This package works with Browsers
JSR Score
100%
Published
a year ago (1.0.2)

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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@rhy/fast-json-clone

Import symbol

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

Import directly with a jsr specifier

import * as fast_json_clone from "jsr:@rhy/fast-json-clone";

Add Package

pnpm i jsr:@rhy/fast-json-clone
or (using pnpm 10.8 or older)
pnpm dlx jsr add @rhy/fast-json-clone

Import symbol

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

Add Package

yarn add jsr:@rhy/fast-json-clone
or (using Yarn 4.8 or older)
yarn dlx jsr add @rhy/fast-json-clone

Import symbol

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

Add Package

vlt install jsr:@rhy/fast-json-clone

Import symbol

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

Add Package

npx jsr add @rhy/fast-json-clone

Import symbol

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

Add Package

bunx jsr add @rhy/fast-json-clone

Import symbol

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