Type definitions are available in the @types/clone-deep package


  • Version 4.0.1
  • Published
  • 8 kB
  • 3 dependencies
  • MIT license


npm i clone-deep
yarn add clone-deep
pnpm add clone-deep


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

Dependencies (3)

Dev Dependencies (2)

Peer Dependencies (0)

No peer dependencies.


To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/clone-deep.

  • Markdown
  • HTML
    <a href="https://www.jsdocs.io/package/clone-deep"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>