UNPKG

an-function

Version:

js中常用的util方法;比如处理日期的函数,a连接下载,解析url,防抖,节流,基于webWork的定时器,websocket连接等等

24 lines 872 B
{ "name": "an-function", "version": "1.0.9", "description": "js中常用的util方法;比如处理日期的函数,a连接下载,解析url,防抖,节流,基于webWork的定时器,websocket连接等等", "keywords": [ "utils", "chinaData", "aDownload", "webSocket" ], "main": "dist/index.min.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "babel index2.js | terser -o dist/index.min.js -c passes=3,toplevel,drop_console,reduce_vars=true,collapse_vars=true -m reserved=['deepClone','chinaDate','anWebSocket','aDownLoad','getUrlParams','objKeysHasValue','anInterval','anTimeout']" }, "author": "divfooter@163.com", "license": "ISC", "devDependencies": { "terser": "^5.16.0", "@babel/cli": "^7.22.15", "@babel/core": "^7.22.17", "@babel/preset-env": "^7.22.20" } }