# js-deep-clone

> A TypeScript module for deep cloning objects and arrays, with support for Date, RegExp, Set, Map, ArrayBuffer, TypedArrays, Error, and other built-in types, while handling circular references and preserving prototypes.

Latest version **2.0.1** (published 2026-09-21) · MIT license · 0 weekly downloads

_The full health report (score, vulnerabilities, README, dependency tree, version history) is being computed; this document will grow once it lands._

## Install

```sh
npm install js-deep-clone
pnpm add js-deep-clone
yarn add js-deep-clone
bun add js-deep-clone
```

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2026-09-21 |
| First published | 2024-11-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Dependencies | 0 |
| Author | modeusweb |
| Maintainers | modeusweb |
| Keywords | deep, clone, object, array, date, regexp, set, map, arraybuffer, typedarray, error, circular, prototype |

## Links

- npm: https://www.npmjs.com/package/js-deep-clone
- npm.io page: https://npm.io/package/js-deep-clone

---
_Source: https://npm.io/package/js-deep-clone · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
