# @kamyar-nemati/replica

> JavaScript Object Replicator

Latest version **1.0.1** (published 2019-06-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kamyar-nemati/replica
pnpm add @kamyar-nemati/replica
yarn add @kamyar-nemati/replica
bun add @kamyar-nemati/replica
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-06-20 |
| First published | 2019-06-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kamyar Nemati |
| Maintainers | kamyar-nemati |
| Keywords | clone, object, copy, deep, replicate |

## Links

- npm: https://www.npmjs.com/package/@kamyar-nemati/replica
- Repository: https://github.com/kamyar-nemati/replica
- Homepage: https://github.com/kamyar-nemati/replica#readme
- Issues: https://github.com/kamyar-nemati/replica/issues
- npm.io page: https://npm.io/package/@kamyar-nemati/replica

## Recent versions

- 1.0.1 (latest) — 2019-06-20
- 1.0.0 — 2019-06-19

## README

# Replica
JavaScript Object Replicator

## Overview
Replica is a JavaScript library that provides a way to clone objects. Nested properties such as literals, arrays, objects, and functions are covered.

## Usage
1. Install the package `npm i @kamyar-nemati/replica`
2. Import the package `import { deepCopy } from '@kamyar-nemati/replica';`
3. Finally:
```js
let cloneObject = Object();
// copying 'originalObject' into 'cloneObject'
deepCopy(cloneObject, originalObject);
/**
 * clone object's properties will be 
 * independent from originla object.
 */
```

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