npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pmq-ui

v1.0.20

Published

xuyabing peoject pmq-ui

Readme

pmq-ui

pmq-ui 好用方法库ui库, 欢迎您的使用 更多咨询wx: XY3345678P

安装

  1. 克隆项目库到本地:

  2. 进入项目目录:cd pmq-ui

  3. 安装依赖:npm install pmq-ui

使用

示例

贡献指南

欢迎贡献代码!如果您想为项目贡献代码,请遵循以下步骤:

  1. 提交 issue 讨论您的想法或建议。
  2. Fork 项目并创建新分支。
  3. 编写代码并进行单元测试。
  4. 提交 pull request,等待审查。

版本历史

  • v1.0.0 (2024-07-10): 初始版本,实现基本的功能。
  • v1.0.1 (2024-07-12): 新增methods/date.ts文件,实现方法isTimeBetween判断当前日期是否在某个时间区间(兼容跨时间)。
  • v1.0.2 (2024-07-13): 新增methods/downLoad.ts文件,实现方法createImageData获取图片数据信息。
  • v1.0.3 (2024-07-14): 修改methods/downLoad.ts文件,实现方法downloadImagedownloadUrl处理图片跨域 下载图片。
  • v1.0.4 (2024-07-15): 新增methods/excel.ts文件,实现方法exportExcel直接导出excel, 支持展示图片、浏览器兼容等多功能表格。
  • v1.0.5 (2024-07-16): 新增methods/high-order-function.ts文件,实现方法browforChunk数据切片用于数据分片处理,根据浏览器机制实现的逻辑切片。
  • v1.0.6 (2024-07-17): 修改methods/high-order-function.ts文件,实现方法browforChunk数据切片用于10000数据分片处理,根据浏览器机制实现的逻辑切片,提升用户体验。
  • v1.0.7 (2024-07-18): 新增methods/index.ts文件,实现方法deepClone深度克隆、_deepRandomCharacters随机字符方法。
  • v1.0.9 (2024-07-19): 新增methods/request.ts文件,实现方法pmqXhrRequest、pmqFetchRequest请求方法基于xhr和fetch封装的两个请求方法,支持实时获取请求进度、和中断请求操作。
  • v1.0.10 (2024-07-23): 修改methods/date.ts文件,实现方法getDateChangeInfo动态获取 明天、前天、今天 date会根据传入时间值获取前天后天的值
  • v1.0.11 (2024-07-23): 修改methods/index.ts文件,实现方法getUrlParams获取url中接收的参数
  • v1.0.12 (2024-07-23): 修改methods/index.ts文件,实现方法debounce、throttle实现防抖、节流
  • v1.0.13 (2024-07-23): 修改methods/excel.ts、methods/request.ts文件,优化提示信息,响应参数
  • v1.0.14 (2024-07-23): 新增methods/color.ts文件,实现方法colorHexToRgb、colorRgbToHex,16进制颜色值和rgb颜色值的相互转化
  • v1.0.15 (2024-07-23): 修改methods/date.ts文件,实现方法dateFormat时间戳转换时间,修改methods/index.ts文件,实现方法hasChinses推断是否存在中文字符、isJSON推断是否为json字符串格式、isUrl推断是否为正确url链接、新增文件number.ts实现方法toPercent小数转百分比
  • v1.0.16 (2024-07-23): 修改methods/excel.ts文件,实现方法exportExcelBasic基本表格导出功能支持展示图片,自定义样式还需要exportExcel参考https://blog.csdn.net/weixin_52901235/article/details/139842614?spm=1001.2014.3001.5501
  • v1.0.17 (2024-07-26): 新增文件methods/section, 实现方法cutFile大文件切片方法,快速高效多线程池任务切片处理文件,提升用户体验,提高上传效率
  • v1.0.18 (2024-07-26): 新增文件methods/animation, 实现方法OverlayAnimation数字动画效果;新增文件methods/index, 实现方法uniqueArray数组去重 两个属性相同的对象也人为是重复的, 超级去重
  • v1.0.19 (2024-08-05): 新增文件methods/task.ts, 实现方法processTasks依次顺序执行一系列任务所有任务全部完成后可以得到每个任务的执行结果返回两个方法,start用于启动任务,pause用于暂停任务,每个任务具有原子性,即不可中断, 只可以在两个任务中间中断

许可证

本项目采用 MIT 许可证,详情请参阅 LICENSE 文件。