1.0.12 • Published 2 years ago

liuyi-clone v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

liuyi-clone

实现JavaScript引用类型数据的神拷贝功能

使用者指南

通过 npm 下载安装代码

$ npm install liuyi-clone

如果使用Node.js环境

var { clone } from = require('liuyi-clone');
clone({a:1});

如果使用webpack等环境

import { clone } from 'liuyi-clone';
clone({a:1});

如果使用浏览器环境

<script src="node_modules/liuyi-clone/dist/index.aio.js"></script>
<script>
     clone({a:1})
</script>

贡献者指南

首次运行需要先安装依赖

$ npm install

一键打包生成生产代码

$ npm run buiid

运行单元测试

npm test
1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago