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

zbanx

v2.0.0

Published

zbanx - 静态站点部署工具

Readme

zbanx

静态站点创建与部署工具 — 基于 snapstatic 模板,一键部署到阿里云 OSS。

安装

bun add -g zbanx         # 全局安装
bun x zbanx <command>    # 或直接运行(免安装)

快速开始

# 创建新项目
zbanx init my-site
cd my-site

# 启动开发服务器
bun dev

# 构建并部署
zbanx deploy

命令

init <project-name>

从 snapstatic 模板脚手架新项目(Vite + React + TypeScript + Tailwind v4 + coss/shadcn + @antv/infographic)。

| 选项 | 说明 | |------|------| | --overwrite | 目标目录已存在时覆盖写入 |

  • 项目名:小写字母、数字、连字符(my-site
  • 支持 . 在当前目录创建

deploy

构建并部署到阿里云 OSS。

| 选项 | 说明 | |------|------| | --no-build | 跳过构建,直接上传已有 dist/ |

配置

项目根目录需 deploy.json

{
  "oss": {
    "region": "oss-cn-hangzhou",
    "bucket": "my-bucket",
    "domain": "my-domain.com"
  },
  "build": {
    "command": "bun run build",
    "outputDir": "dist"
  }
}

.env(已 gitignore):

ALIBABA_CLOUD_ACCESS_KEY_ID=your_key_id
ALIBABA_CLOUD_ACCESS_KEY_SECRET=your_key_secret

身份认证

首次部署交互式收集账号密码,登录成功后缓存到 ~/.zbx/session.json

# 清除缓存的登录态
rm -f ~/.zbx/session.json

常见问题

| 问题 | 原因/解决 | |------|-----------| | 部署失败 code 300001 | 密码错误或账号不存在 | | bun run build 失败 | 先 bun run lint 检查代码 | | 部署后页面刷新 404 | 确认项目使用 HashRouter(模板默认) |