# clone-lite

> A tiny cloning library. It's good for browsers.

Latest version **1.0.2** (published 2017-04-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install clone-lite
pnpm add clone-lite
yarn add clone-lite
bun add clone-lite
```

## 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.2 |
| Published | 2017-04-19 |
| First published | 2017-04-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tyler Murphy |
| Maintainers | tyler-murphy |
| Keywords | clone, small, circular, recursive, browser |

## Links

- npm: https://www.npmjs.com/package/clone-lite
- Repository: https://github.com/roirevolution/clone-lite
- Homepage: https://github.com/roirevolution/clone-lite#readme
- Issues: https://github.com/roirevolution/clone-lite/issues
- npm.io page: https://npm.io/package/clone-lite

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2017-04-19
- 1.0.1 — 2017-04-19

## README

This clones deep, circular javascript objects. The following are supported and tested:
 * Numbers
 * Strings
 * Booleans
 * Dates
 * Regular Expressions
 * Objects
 * Arrays
 * null
 * undefined

It works in all modern browsers, and IE 9 and higher.

### Install

```sh
npm install --save clone-lite
```

### Use

This should work in all javascript environments. It's well-suited for browsers since the code is small.

```js
var clone = require('clone-lite')
```

No browser version of the code is included, so use your favorite bundler.

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