Package Exports
- comutils
- comutils/animationFrame
- comutils/copyObj
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (comutils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
comutils 

前端代码常用工具类
目的:集成前端常用工具类
安装使用
- 直接下载
bulid目录下的comutils.min.js使用,支持UMD通用模块规范
<script src="comutils.min.js"></script>
<script>
var copyObj = comutils.copyObj(obj1,obj2)
</script>- 使用npm安装
$ npm install --save-dev comutils推荐使用方法
不需要完整引入所有函数,只引入需要使用的方法即可
// 只引入部分方法('outils/<方法名>')
const isUrl = require('outils/isUrl')
const isUrl = isUrl()