# 功能型 * [FileSaver.js](https://github.com/eligrey/FileSaver.js): 通过创建blob对象在前端另存为 * [jsPDF](https://github.com/MrRio/jsPDF): 前端专业生成PDF * [FileAPI](https://github.com/mailru/FileAPI):各种(文本,图片)文件多方式(批量,拖拽)上传 * [qrcodejs](https://github.com/davidshimjs/qrcodejs):二维码生成器 * [dayjs](https://github.com/iamkun/dayjs): 日期格式化,moment的light版 * [clipboard.js](https://github.com/zenorocha/clipboard.js): 拷贝到剪切板 * [js-xlsx](https://github.com/SheetJS/js-xlsx):前端保存为excel ```js var workbook = XLSX.utils.table_to_book(document.getElementById('table')); ``` # 事件封装 * [shake.js](https://github.com/alexgibson/shake.js):摇一摇 * [any-touch](https://github.com/any86/any-touch):移动手势库 # 小组件 * [swiper](https://github.com/nolimits4web/swiper):轮播图 * [autosize](https://github.com/jackmoore/autosize):textarea高度根据输入实时自适应 * [progressbar.js](https://github.com/kimmobrunfeldt/progressbar.js):高可定制进度条 * [jsoneditor](https://github.com/josdejong/jsoneditor): json编辑器 # 可视化搭建 * [js-reference-line](https://github.com/yyccmmkk/js-reference-line): js 拖动时生成对齐线 * [js-resize-ui](https://github.com/yyccmmkk/js-resize-ui): 对页面元素进行缩放操作,支持按下ctrl 后同比例缩放,及任意缩放 * [react-cool-layout](https://github.com/zinkey/react-cool-layout):定义元素的相对位置关系来自适应布局,布局位置根据相对位置关系动态计算 # snippet * [any-rule](https://github.com/any86/any-rule): 常用正则表达式
功能型
事件封装
小组件
可视化搭建
snippet