diana


前端业务代码工具库(支持 browser 和 node 环境)。
目的:高效率完成前端业务代码 && 归纳总结
文档地址
Usage
npm || yarn (推荐)
npm install diana --save || yarn add diana
const _ = require('diana')
const isEqual = _.equal([1, 2, 3], [1, 2, 3])
bower
bower install diana
<script src="bower_components/diana/lib/diana.js"></script>
<script>
const isEqual = diana.equal([1, 2, 3], [1, 2, 3])
</script>
当然,在浏览器端你也可以直接下载 min 目录下的 diana.js 使用,支持 UMD 通用模块规范。
Contribute
Welcome your valuable suggestions / pr. Not only code, but the test case, the docs even the structure of the library.