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

@rokoai/fapiao

v0.1.0

Published

Codex skill for organizing invoice PDFs, Gmail invoice emails, and monthly CSV ledgers.

Readme

发票整理 Skill

这是一个给 Codex 使用的发票整理 skill,用来把本地发票 PDF、服务商 invoice/receipt、Gmail 邮件里的发票附件,整理成按月份归档的文件夹和 CSV 台账。

它适合处理这些场景:

  • 整理中国电子发票 PDF
  • 整理 ChatGPT、云服务、软件订阅等海外服务的 invoice 和 receipt
  • 从 Gmail 搜索近期发票邮件并下载附件
  • 按月份创建 YYYY-MM/ 文件夹和 YYYY_M.csv 台账
  • 按规则重命名发票文件
  • 去重重复发票或重复下载的邮件附件
  • 写入统一 CSV 字段:日期、类型、金额、支付账户、用途、分类、是否报销、发票、备注

安装

npx @rokoai/fapiao

安装后会把 skill 复制到:

~/.codex/skills/fapiao

之后在 Codex 里这样调用:

$fapiao

例如:

$fapiao 整理这个月的发票,更新 CSV 台账

工作方式

这个 skill 会把当前工作目录当成发票归档根目录,不依赖任何固定的本地路径。默认结构是:

2026-05/
2026_5.csv

CSV 表头固定为:

日期,类型,金额,支付账户,用途,分类,是否报销,发票,备注

归档文件名示例:

2026-05-09+加油+362.00.pdf
2026-05-16+ChatGPT Plus订阅+138.00+invoice.pdf
2026-05-16+ChatGPT Plus订阅+138.00+receipt.pdf