1.0.12 • Published 11 months ago

liuyi-clone v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months 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

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago