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

@ruck-plugins/todos

v1.0.1

Published

高颜值、快捷高效的待办事项管理工具,支持日历视图与拖拽操作

Readme


功能特性

  • 日历视图 — 以日历形式直观展示每日待办,快速定位任务日期
  • 拖拽操作 — 支持拖拽调整任务日期与排序,交互流畅直观
  • 延期复活 — 过期未完成的任务自动延期,不再遗漏
  • 快捷编排 — 快速创建、编辑、完成待办事项,操作路径极短
  • 暗色模式 — 跟随系统主题,护眼又美观

应用截图

周视图

img.png

日历视图

img_1.png

快速开始

# 安装依赖
npm install

# 启动开发模式
npm run dev

开发服务器将在 http://localhost:5173 启动,ZTools 会自动加载开发版本。

# 构建生产版本
npm run build

构建产物将输出到 dist/ 目录。

项目结构

├── public/
│   ├── logo.svg              # 插件图标
│   └── plugin.json           # 插件配置文件
├── src/
│   ├── main.tsx              # 入口文件
│   ├── main.css              # 全局样式
│   ├── App.tsx               # 根组件
│   ├── env.d.ts              # 类型声明
│   └── ...
├── index.html                # HTML 模板
├── vite.config.js            # Vite 配置
└── package.json              # 项目依赖

开发指南

修改插件配置

编辑 public/plugin.json 修改插件名称、描述、功能配置等。

创建新功能

  1. src/ 下创建功能组件目录
  2. src/App.tsx 中注册路由
  3. public/plugin.json 中添加功能配置

使用 Node.js 能力

通过 public/preload/services.js 扩展 Node.js 服务,在组件中通过 window.services 调用。

使用 ZTools API

通过 window.ztools 访问 ZTools 提供的 API,如 getClipboardContent()hideMainWindow()showTip() 等。

构建与发布

  1. npm run build — 构建生产版本
  2. dist/ 目录内容复制到 ZTools 插件目录进行测试
  3. 确保 plugin.json 信息完整,准备截图后提交到 ZTools 插件市场

开源协议

MIT License