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

taiwan-invoice-skill

v2.7.1

Published

AI-powered Taiwan E-Invoice toolkit. Supports ECPay, SmilePay, Amego, ezPay, and PayNow with full B2C/B2B issuance, void, allowance, and POS batch flows.

Readme


安裝

npm install -g taiwan-invoice-skill

快速開始

cd /path/to/your/project

taiwan-invoice init                    # 互動式選擇 AI 助手
taiwan-invoice init --ai claude        # Claude Code
taiwan-invoice init --ai cursor        # Cursor
taiwan-invoice init --ai windsurf      # Windsurf
taiwan-invoice init --ai all           # 全部安裝

安裝完後,直接在 AI 助手用自然語言:

使用 ECPay 測試環境開立 B2C 發票,金額 1050 元
建立 ezPay B2B 發票,買方統編 12345678,未稅 1000、稅 50
為 PayNow POS 機批次取 100 個發票號碼

5 家發票服務商

| 服務商 | 加密 / 認證 | 適用場景 | |---|---|---| | ECPay 綠界 | AES-128-CBC + HashKey/HashIV | 市佔率最高、SDK 完整、傳統電商首選 | | SmilePay 速買配 | Grvc + Verify_key | 老牌穩定、整合最簡單、無 AES 門檻 | | Amego 光貿 | MD5 簽章 + App Key | MIG 4.0 標準、現代 RESTful | | ezPay 簡單付 | AES-256-CBC + 32 碼 HashKey + SHA256 | 藍新金流集團小型品牌、字軌管理、批次開立 | | PayNow 立吉富 | JWT Bearer Token | 金物流發票一站式、POS 機批次取號流程 |

每家附完整 Python 範例(B2C / B2B / 作廢 / 折讓)+ 反推的加密實作 + 測試帳號。

技能包內容

taiwan-invoice/
├── SKILL.md                          # AI 技能主文檔
├── EXAMPLES.md                       # 完整範例集
├── references/                       # 5 份 API 規格
│   ├── ECPAY_API_REFERENCE.md
│   ├── SMILEPAY_API_REFERENCE.md
│   ├── AMEGO_API_REFERENCE.md
│   ├── EZPAY_API_REFERENCE.md       # ezPay 5 本 PDF 蒸餾 1,084 行
│   └── PAYNOW_API_REFERENCE.md      # PayNow JWT + POS 流程
├── examples/                         # 5 個生產級 Python 範例
└── data/                             # 7 份 CSV 資料
    ├── providers.csv                # 5 服務商
    ├── operations.csv               # 11 個 API 操作
    ├── error-codes.csv              # 80+ 錯誤碼
    └── ...

CLI 指令

taiwan-invoice list                # 列出 AI 平台
taiwan-invoice info                # 技能資訊
taiwan-invoice update              # 檢查更新
taiwan-invoice init --force        # 覆蓋安裝
taiwan-invoice init --global       # 全域安裝

14 個 AI 平台支援

Claude Code · Cursor · Windsurf · Antigravity · GitHub Copilot · Kiro · Codex · Qoder · Roo Code · Gemini · Trae · OpenCode · Continue · CodeBuddy

相關套件

本套件是 Taiwan E-Commerce Toolkit 的一部分:

授權

MIT License