# pxxlib-utils

> 实现 JavaScript 引用对象的深拷贝功能

Latest version **1.0.0** (published 2023-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install pxxlib-utils
pnpm add pxxlib-utils
yarn add pxxlib-utils
bun add pxxlib-utils
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-03-13 |
| First published | 2023-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 571.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | panxiangxin |
| Maintainers | panxiangxin |

## Links

- npm: https://www.npmjs.com/package/pxxlib-utils
- npm.io page: https://npm.io/package/pxxlib-utils

## Dependencies (4)

- [core-js](https://npm.io/package/core-js.md) ^3.7.0
- [@jslib-book/type](https://npm.io/package/@jslib-book/type.md) ^1.0.2
- [@babel/runtime-corejs2](https://npm.io/package/@babel/runtime-corejs2.md) ^7.12.5
- [@babel/runtime-corejs3](https://npm.io/package/@babel/runtime-corejs3.md) ^7.12.5

## Recent versions

- 1.0.0 (latest) — 2023-03-13

## README

### pxxlib-utils ![example workflow](https://github.com/panxiangxin/utils/actions/workflows/ci.yml/badge.svg)

实现 JavaScript 引用对象的深拷贝功能

### 使用者指南

通过 npm 下载安装代码

```bash
$ npm install --save pxxlib-utils
```

如果你是 node 环境

```js
var { clone } = require('pxxlib-utils');

clone({ a: 1 });
```

如果你是 webpack 等环境

```js
import { clone } from 'pxxlib-utils';

clone({ a: 1 });
```

如果你是浏览器环境

```html
<script src="node_modules/pxxlib-utils/dist/index.aio.js"></script>
<script>
  clone({ a: 1 });
</script>
```

### 贡献者指南

首次运行需要先安装依赖

```bash
$ npm install
```

一键打包生成生产代码

```bash
$ npm run build
```

运行单元测试:

```bash
$ npm test
```

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