这是一个js插件集合,旨在把工作中可复用js代码抽离出来,提升代码质量、复用率。插件或是一个页面功能,或是一个使用方便的工具,希望在工作中入坑的同时,可以更好地填坑。
一个整合sessionStorage、localStorage、cookie的小插件
插件路径:js-utils>storage-util
参考文章:整理前端工作中的可复用代码(一):做一个整合存储的插件
拓展spark-md5,支持计算网络文件md5的小插件
插件路径:js-utils>md5-util
参考文章:整理前端工作中的可复用代码(二):拓展spark-md5,支持计算网络文件md5
md5-util(下方直接扫码即可体验)
配置gulp,实现自动刷新+编译less+补全css前缀+px转rem,方便写纯静态页
插件路径:js-utils>gulp-util