# @vect/clone

> An array util tool

Latest version **0.8.6** (published 2025-03-29) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 40/100 (D)** — status: stable.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.8.6 |
| Published | 2025-03-29 |
| First published | 2022-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22.0.0 |
| Dependencies | 3 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Hoyeung Wong |
| Maintainers | hoyeung |
| Keywords | clone, function |

## Links

- npm: https://www.npmjs.com/package/@vect/clone
- Repository: https://github.com/hoyeungw/vect
- Homepage: https://github.com/hoyeungw/vect#readme
- Issues: https://github.com/hoyeungw/vect
- npm.io page: https://npm.io/package/@vect/clone

## Dependencies (3)

- [@typen/typ](https://npm.io/package/@typen/typ.md) ^0.2.0
- [@typen/enum-data-types](https://npm.io/package/@typen/enum-data-types.md) ^0.2.0
- [@typen/enum-object-types](https://npm.io/package/@typen/enum-object-types.md) ^0.2.0

## Recent versions

- 0.8.6 (latest) — 2025-03-29
- 0.8.5 — 2025-03-23
- 0.8.4 — 2025-03-20
- 0.8.3 — 2025-03-19
- 0.8.2 — 2025-03-19
- 0.8.0 — 2024-10-26
- 0.7.20 — 2023-01-09
- 0.7.19 — 2022-12-31
- 0.7.18 — 2022-12-27
- 0.7.16 — 2022-08-10
- 0.7.15 — 2022-07-26
- 0.7.14 — 2022-06-06
- 0.7.13 — 2022-06-06
- 0.7.11 — 2022-05-27
- 0.7.10 — 2022-05-27
- … 28 more at https://npm.io/package/@vect/clone/versions

## README

## @vect/renamer
Rename a function

[![npm version][badge-npm-version]][url-npm]
[![npm download monthly][badge-npm-download-monthly]][url-npm]
[![npm download total][badge-npm-download-total]][url-npm]
[![npm dependents][badge-npm-dependents]][url-github]
[![npm license][badge-npm-license]][url-npm]
[![pp install size][badge-pp-install-size]][url-pp]
[![github commit last][badge-github-last-commit]][url-github]
[![github commit total][badge-github-commit-count]][url-github]

[//]: <> (Shields)
[badge-npm-version]: https://flat.badgen.net/npm/v/@vect/clone
[badge-npm-download-monthly]: https://flat.badgen.net/npm/dm/@vect/clone
[badge-npm-download-total]:https://flat.badgen.net/npm/dt/@vect/clone
[badge-npm-dependents]: https://flat.badgen.net/npm/dependents/@vect/clone
[badge-npm-license]: https://flat.badgen.net/npm/license/@vect/clone
[badge-pp-install-size]: https://flat.badgen.net/packagephobia/install/@vect/clone
[badge-github-last-commit]: https://flat.badgen.net/github/last-commit/hoyeungw/vect
[badge-github-commit-count]: https://flat.badgen.net/github/commits/hoyeungw/vect

[//]: <> (Link)
[url-npm]: https://npmjs.org/package/@vect/clone
[url-pp]: https://packagephobia.now.sh/result?prev=@vect/clone
[url-github]: https://github.com/hoyeungw/vect

## Features

- ES2015 syntax

## Install
```console
$ npm install @vect/clone
```

## Usage
```js
import { clone } from '@vect/clone'

const func = x => x
console.log(func.name) // func
clone(func, 'not-a-method')
console.log(func.name) // not-a-method

```

## Meta
[LICENSE (MIT)](LICENSE)

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