# jsoncopy

> Create a deep clone of an object using JSON functionalities.

Latest version **1.0.0** (published 2018-07-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install jsoncopy
pnpm add jsoncopy
yarn add jsoncopy
bun add jsoncopy
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-07-31 |
| First published | 2018-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 38 |
| Author | omrilotan |
| Maintainers | omrilotan |

## Links

- npm: https://www.npmjs.com/package/jsoncopy
- Repository: https://github.com/omrilotan/mono
- Homepage: https://omrilotan.com/mono/jsoncopy/
- Issues: https://github.com/omrilotan/mono/issues
- npm.io page: https://npm.io/package/jsoncopy

## Recent versions

- 1.0.0 (latest) — 2018-07-31
- 1.1.0 — 2018-08-04

## README

# jsoncopy [![](https://img.shields.io/npm/v/jsoncopy.svg)](https://www.npmjs.com/package/jsoncopy) [![](https://img.shields.io/badge/source--000000.svg?logo=github&style=social)](https://github.com/omrilotan/mono/tree/master/packages/jsoncopy)

Create a deep clone of an object using JSON functionalities. Very efficient and quick, not a comprehensive copyier (can't copy functions, circular references)

```js
const jsoncopy = require('jsoncopy');

const orig = {top: {nested: {value: 1}}};
const copy = jsoncopy(obj);
obj.top.nested.value = 2;

orig.top.nested.value // 2
copy.top.nested.value // 1
```

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