Skip to content

Javascript, Sort method, Url params, SheetJs, mutation observer, storage change, download html, settimeout, aes-gcm, horizontal, vertical

Notifications You must be signed in to change notification settings

qin-ziqi/js-utils

Repository files navigation

description

自己整理的一些常用的 Js 方法

url params:  两种url参数的解析与拼接

sort compare:  js的十种排序算法比较

sheetJs import:  基于xlsxJs的excel文件导入与解析

sheetJs export:  基于xlsxJs的excel(csv)的文件导出

download file:  js实现文件下载功能

upload image:  上传图片时获取图片的原始尺寸和大小

storage change:  本地监控localStorage(sessionStorage)变化

async load img:  使用promise实现图片异步加载状态判断

mutation observer:  使用mutation observer监听Dom树变化

time out: setTimeout实现定时器校准

download html: js实现html文件下载

copy: 点击复制

debounce and throttle:防抖与节流的实现

aes gcm:AES GCM模式加密实现

horizontal and vertical:基于Echart的横屏和竖屏的实现

About

Javascript, Sort method, Url params, SheetJs, mutation observer, storage change, download html, settimeout, aes-gcm, horizontal, vertical

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published