Skip to content
JS
Package

clone-deep

Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.

v4.0.1, 22 Nov 2018MITCommonJSTypes: NoneDate and timeNode.js utilities
$ npm install clone-deep

Key numbers

As of 25 Sept 2026
Weekly downloads
20.8m
+16% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
7 years ago
v4.0.1
GitHub stars
319
55 forks
Open issues / PRs
7 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 27.3m (21 Jul 2026)Low 9.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

20,824,675 downloads last week, 96,384,757 in the last month. The 12-month change of +16% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
016 in total
Latest version
4.0.1, 22 Nov 20187 years ago
First published
2 Oct 2014
Last push to GitHub
9 Feb 2024958 days before the snapshot
Repository archived
No
Open issues
7
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
1,319

Major versions

  1. v4 first release 4.0.0, 10 Apr 2018
  2. v3 first release 3.0.0, 19 Jan 2018
  3. v2 first release 2.0.0, 17 Nov 2017
  4. v1 first release 1.0.0, 16 Jul 2017
  5. v0 first release 0.1.0, 2 Oct 2014

Recent releases

VersionPublished
4.0.122 Nov 2018
4.0.010 Apr 2018
2.0.219 Jan 2018
3.0.119 Jan 2018
3.0.019 Jan 2018
2.0.117 Nov 2017
2.0.017 Nov 2017
1.0.016 Jul 2017
0.3.019 May 2017
0.2.423 Dec 2015
0.2.310 Oct 2015
0.2.221 Aug 2015
0.2.110 Aug 2015
0.2.029 Jun 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6
Runtimes
-
Unpacked size (npm)
7.8 kB
Dependencies (3)
kind-ofshallow-cloneis-plain-object
npm install clone-deep
  • jsDelivrhttps://cdn.jsdelivr.net/npm/clone-deep@4.0.1/
  • unpkghttps://unpkg.com/clone-deep@4.0.1/
  • esm.shhttps://esm.sh/clone-deep@4.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.