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

@qzsy/rivet-cli

v0.1.0

Published

Rivet CLI — deploy static sites and full-stack projects to Rivet

Readme

@qzsy/rivet-cli

Rivet 命令行工具(Node.js),对接线上平台 https://rivet.b.nps.qzsyzn.com

安装

npm install -g @qzsy/rivet-cli

安装后使用 rivet 命令(与 Go 版 CLI 命令名一致)。

npm 上的 rivet-cli 名称已被占用,本包发布为 @qzsy/rivet-cli@qzsy 组织 scope 包)。

快速开始

rivet config init
rivet login
rivet create my-app
cd my-app
# 编辑 frontend / backend / db …
rivet save . --project my-app
cd frontend && npm run build
rivet upload ./frontend/dist --domain rivet-my-app --project my-app

默认地址

| 项 | 默认值 | |----|--------| | API | https://rivet.b.nps.qzsyzn.com | | Web | https://rivet.b.nps.qzsyzn.com |

覆盖方式:rivet config set api <url>RIVET_API_BASE 环境变量、或全局 --api

常用命令

| 命令 | 说明 | |------|------| | rivet config init | 写入生产环境配置 | | rivet login | 浏览器登录 | | rivet create <name> | 创建项目并生成本地骨架 | | rivet save <dir> --project <name> | 部署 Worker + SQL | | rivet upload <dist> --domain <sub> | 上传静态站并绑域 | | rivet bind <domain> <hash> | 绑定子域 | | rivet projects | 列出项目 |

凭证与配置保存在 ~/.rivet/,与 Go 版 CLI 兼容。

发布到 npm(维护者)

cd packages/rivet-cli
.\scripts\publish.ps1

常见 E403 原因:

  1. OTP 必须是 Authenticator 的 6 位码(不是 8 位恢复码)。
  2. 不要先带 --otp 直接 npm publishprepublishOnly 会先跑 tsc,OTP 30 秒内会过期。应先 npm run build,再立刻 npm publish --otp=XXXXXX --ignore-scripts(脚本已按此流程处理)。
  3. 仍失败时:重新 npm login --registry https://registry.npmjs.org,或在 npm Access Tokens 创建 Granular Access Token(对 @qzsy 有 Publish 权限,勾选 Bypass 2FA),写入 ~/.npmrc//registry.npmjs.org/:_authToken=...

与 Go CLI 的关系

仓库内 cmd/rivet 为 Go 实现;本包为纯 Node 实现,便于 npm install -g 分发,无需安装 Go。