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

@demox-site/cli

v1.0.1

Published

Demox CLI - Deploy static websites from command line

Readme

Demox CLI

命令行工具,用于部署静态网站到 Demox 平台。

安装

# 使用 npm
npm install -g @demox-site/cli

# 使用 npx (无需安装)
npx @demox-site/cli --help

快速开始

1. 登录

demox login

这会打开浏览器进行 OAuth 授权。

2. 部署网站

# 部署目录
demox deploy ./dist

# 部署 ZIP 文件
demox deploy ./website.zip

# 指定网站名称
demox deploy ./dist --name my-website

# 更新现有网站
demox deploy ./dist --id WEBSITE_ID

3. 管理网站

# 列出所有网站
demox list

# 查看网站详情
demox info WEBSITE_ID

# 删除网站
demox delete WEBSITE_ID

命令参考

| 命令 | 描述 | |------|------| | demox login | 登录到 Demox 服务 | | demox logout | 登出并删除本地 Token | | demox status | 查看当前登录状态 | | demox deploy <path> | 部署网站或目录 | | demox list / demox ls | 列出所有网站 | | demox info <id> | 查看网站详情 | | demox delete <id> / demox rm <id> | 删除网站 | | demox test | 测试服务连接 | | demox clean | 清理本地缓存 |

deploy 选项

-n, --name <name>    网站名称
-i, --id <id>        网站 ID(更新现有网站)

delete 选项

-f, --force          强制删除,不提示确认

配置

Token 保存在 ~/.demox/token.json

环境变量

| 变量 | 描述 | 默认值 | |------|------|--------| | DEMOX_CLIENT_ID | OAuth 客户端 ID | demox-mcp-client | | DEMOX_AUTH_URL | 授权 URL | https://demox.site/#/mcp-authorize | | DEMOX_API_BASE | API 基础 URL | https://demox.site | | DEMOX_CLOUD_FUNCTION_URL | 云函数 URL | (腾讯云 SCF) |

限制

  • 最大文件大小: 8MB
  • 支持的文件类型: ZIP 文件或目录

许可证

MIT