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

@fireman34/work-report

v1.1.0

Published

全局工作记录工具:Git追踪+工作笔记+日报生成

Readme

📋 Work-Report CLI 工具

📖 README markdown

Work-Report CLI

全局工作记录工具:Git 追踪 + 工作笔记 + 日报生成

Version

📌 简介

work-report 是一个命令行工作记录工具,帮助开发者自动追踪 Git 项目提交记录、管理工作笔记,并一键生成日报复制到剪贴板。

✨ 功能特性

  • 🎯 Git 项目追踪 - 添加/移除/列出追踪的 Git 项目
  • 📝 工作笔记 - 记录每日工作内容,支持增删查
  • 📊 日报生成 - 自动聚合 Git 提交和笔记,生成格式化日报
  • 📋 一键复制 - 生成的日报自动复制到剪贴板

🚀 快速开始

安装

npm install -g work-report
初始化
安装后会自动执行初始化,创建 .data 目录和 meta.json 配置文件。

📖 使用指南
1. Git 项目追踪
bash
# 添加当前 Git 项目到追踪列表
work-report git add

# 移除当前项目追踪
work-report git remove

# 列出所有追踪的项目
work-report git list

# 清空所有追踪
work-report git clear
2. 工作笔记
bash
# 添加工作笔记
work-report note add "完成了用户登录模块开发"

# 列出所有笔记
work-report note list

# 删除指定序号的笔记
work-report note remove 1
3. 生成日报
bash
# 生成今日日报并复制到剪贴板
work-report report
4. 查看帮助
bash
work-report --help
📁 数据存储
数据存储在用户主目录下的 .data 文件夹中:

.data/
└── meta.json    # 存储 Git 项目列表和工作笔记
🛠️ 技术栈
Node.js - 运行环境
Commander - 命令行框架
FS-Extra - 文件系统操作
Chalk - 终端颜色输出
Copy-Paste - 剪贴板操作
📦 依赖
json
{
  "chalk": "^3.0.0",
  "commander": "^11.1.0",
  "copy-paste": "^2.2.0",
  "fs-extra": "^11.3.4"
}
🔧 开发
bash
# 克隆项目
git clone <repository-url>

# 安装依赖
npm install

# 本地运行
npm run work-report -- <command>
⚠️ 注意事项
确保已安装 Git 并配置 user.name
需要在 Git 项目目录下执行 git add 命令
日报生成基于昨日至今的 Git 提交记录
---