# @ndhoule/clone

> Deeply clone an input object.

Latest version **1.0.0** (published 2016-05-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ndhoule/clone
pnpm add @ndhoule/clone
yarn add @ndhoule/clone
bun add @ndhoule/clone
```

## 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.0 |
| Published | 2016-05-09 |
| First published | 2016-05-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nathan Houle |
| Maintainers | ndhoule |
| Keywords | component, clone |

## Links

- npm: https://www.npmjs.com/package/@ndhoule/clone
- Repository: https://github.com/ndhoule/clone
- Issues: https://github.com/ndhoule/clone/issues
- npm.io page: https://npm.io/package/@ndhoule/clone

## Dependencies (1)

- [component-type](https://npm.io/package/component-type.md) ^1.2.1

## Recent versions

- 1.0.0 (latest) — 2016-05-09

## README

# clone [![CI][ci-badge]][ci-link]

Deeply clones a source object.

## Installation

```sh
$ npm install @ndhoule/clone
```

## API

### `clone(target : *)` => *

Deeply copies an input object.

```javascript
var a = { a: 1 };
var cloned = clone(a);

console.log(cloned); //=> { a: 1 }
console.log(cloned === a); //=> false
```

## Acknowledgements

Based on [component/clone](https://github.com/component/clone).

## License

Released under the [MIT license](LICENSE.md).

[ci-link]: https://travis-ci.org/ndhoule/clone
[ci-badge]: https://travis-ci.org/ndhoule/clone.svg?branch=master

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