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

@35m/cli

v0.1.0

Published

35pay command-line tool — JSON-first, agent-friendly. PaymentLink / checkout / refund from your shell.

Downloads

71

Readme

@35m/cli

35pay 命令行工具,JSON 输出,agent 友好。

安装

npm i -g @35m/cli
# 或
npx @35m/cli help

用法

export PAY_KEY=sk_test_xxx           # 或 sk_live_xxx

# 创建支付
35pay checkout create --amount 9900 --currency CNY \
  --description "顾问费" \
  --metadata '{"orderId":"o_001"}' \
  --success-url https://yoursite.com/done \
  --pretty

# 输出(一行 JSON,--pretty 缩进):
# {
#   "id": "sess_abc123",
#   "url": "https://pay.35team.com/c/sess_abc123",
#   "status": "pending",
#   "amount": 9900,
#   "currency": "CNY",
#   "mode": "test"
# }

# 查询状态
35pay checkout get sess_abc123

# 退款
35pay refund rec_xyz789 --amount 5000 --reason "客户要求"

# 帮助
35pay help

Agent / 脚本场景

# pipe 给 jq 处理
SK=sk_test_xxx 35pay checkout create --amount 100 --currency CNY \
  | jq -r '.url'
# https://pay.35team.com/c/sess_xxx

# 一句话帮人收款
LINK=$(35pay checkout create --amount 9900 --currency CNY --description "$1" | jq -r '.url')
echo "付款链接:$LINK" | mail -s "付款" [email protected]

Env

| 变量 | 默认 | 说明 | |---|---|---| | PAY_KEY | (必填) | sk_test_xxx 或 sk_live_xxx | | PAY_BASE_URL | https://pay.35team.com | 自部署 / 测试覆盖 |

退出码

  • 0 成功
  • 1 用法错误 / 鉴权失败 / API 报错(错误以 JSON 形式打到 stderr)

错误格式

{ "error": "HTTP 401: Invalid API key" }