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-payment-skill

v1.1.4

Published

AI-powered Taiwan Payment Gateway integration toolkit for Claude Code and other AI coding assistants

Readme


安裝

npm install -g taiwan-payment-skill

使用方式

# 進入專案目錄
cd /path/to/your/project

# 選擇你的 AI 助手
taiwan-payment init --ai claude        # Claude Code
taiwan-payment init --ai cursor        # Cursor
taiwan-payment init --ai windsurf      # Windsurf
taiwan-payment init --ai copilot       # GitHub Copilot
taiwan-payment init --ai antigravity   # Antigravity
taiwan-payment init --ai all           # 全部安裝
taiwan-payment init --ai kiro          # Kiro (AWS)
taiwan-payment init --ai codex         # Codex CLI (OpenAI)
taiwan-payment init --ai qoder         # Qoder
taiwan-payment init --ai roocode       # Roo Code
taiwan-payment init --ai gemini        # Gemini CLI
taiwan-payment init --ai trae          # Trae (ByteDance)
taiwan-payment init --ai opencode      # OpenCode
taiwan-payment init --ai continue      # Continue
taiwan-payment init --ai codebuddy     # CodeBuddy (Tencent)

其他指令

taiwan-payment list         # 列出支援平台
taiwan-payment info         # 顯示技能資訊
taiwan-payment versions     # 列出可用版本
taiwan-payment update       # 檢查更新

選項

taiwan-payment init --force     # 覆蓋現有檔案
taiwan-payment init --global    # 安裝到全域目錄(所有專案共用)

全域安裝

使用 --global 可將技能安裝到使用者目錄,讓所有專案都能使用:

taiwan-payment init --ai cursor --global       # ~/.cursor/skills/taiwan-payment/
taiwan-payment init --ai claude --global       # ~/.claude/skills/taiwan-payment/
taiwan-payment init --ai antigravity --global  # ~/.gemini/antigravity/global_skills/taiwan-payment/

支援平台

| 平台 | 說明 | 啟動方式 | |------|------|----------| | Claude Code | Anthropic 官方 CLI | /taiwan-payment | | Cursor | AI 程式編輯器 | /taiwan-payment | | Windsurf | Codeium 編輯器 | 自動 | | Copilot | GitHub Copilot | /taiwan-payment | | Antigravity | Google AI 助手 | /taiwan-payment | | Kiro | AWS AI 助手 | /taiwan-payment | | Codex | OpenAI CLI | 自動 | | Qoder | Qodo AI 助手 | 自動 | | RooCode | VSCode 擴充 | /taiwan-payment | | Gemini CLI | Google Gemini | 自動 | | Trae | ByteDance AI | 自動 | | OpenCode | 開源 AI 助手 | 自動 | | Continue | 開源 AI 助手 | 自動 | | CodeBuddy | Tencent AI | 自動 |


金流服務商

| 服務商 | 加密方式 | API 風格 | 特點 | |--------|---------|---------|------| | ECPay 綠界 | URL Encode + SHA256 | Form POST | 市佔率最高,穩定性佳 | | NewebPay 藍新 | AES-256-CBC + SHA256 | Form POST + AES | 支援最多支付方式 (13 種) | | PAYUNi 統一 | AES-256-GCM + SHA256 | RESTful JSON | RESTful 設計,API 現代化 |


付款方式支援

信用卡支付

  • 一次付清、分期付款 (3/6/12/18/24 期)
  • 信用卡定期定額、信用卡記憶

電子錢包

  • Apple Pay、Google Pay、Samsung Pay
  • LINE Pay、台灣 Pay

轉帳支付

  • 網路 ATM、ATM 虛擬帳號

超商支付

  • 超商代碼、超商條碼

其他

  • TWQR、BNPL 無卡分期、AFTEE 先享後付

智能工具

安裝後包含以下 Python 工具(純 Python,無需外部依賴):

# BM25 搜索引擎 - 搜索錯誤碼、欄位映射、付款方式
python scripts/search.py "10100058" --domain error
python scripts/search.py "信用卡" --domain payment_method
python scripts/search.py "CheckMacValue" --domain troubleshoot

# 智能推薦系統 - 根據需求推薦金流服務商
python scripts/recommend.py "高交易量 電商 穩定"
python scripts/recommend.py "多元支付 LINE Pay Apple Pay"

# 連線測試工具 - 測試 API 連線
python scripts/test_payment.py ecpay
python scripts/test_payment.py all

搜索域

  • provider - 服務商比較
  • operation - API 操作端點
  • error - 錯誤碼查詢
  • field - 欄位映射
  • payment_method - 付款方式
  • troubleshoot - 疑難排解
  • reasoning - 推薦決策規則

功能特色

  • 完整 API 文檔 (ECPay, NewebPay, PAYUNi)
  • BM25 搜索引擎
  • 智能推薦系統
  • 9 組完整代碼範例 (TypeScript/Python)
  • 7 個 CSV 數據檔 (易於維護)
  • 加密實作指南 (SHA256, AES-CBC, AES-GCM)
  • 16 個疑難排解案例

授權

MIT License