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

@lark-apaas/openclaw-dev-cli

v0.1.32

Published

CLI tool for OpenClaw development

Readme

@lark-apaas/openclaw-dev-cli

OpenClaw 应用开发 CLI,管理应用的创建、关联、检查和部署。

安装

无需安装,通过 npx 直接使用:

npx --yes @lark-apaas/openclaw-dev-cli <command> [options]

命令

init — 初始化应用

# 创建全栈应用(Vite + React + Express + PostgreSQL)
npx --yes @lark-apaas/openclaw-dev-cli init --template apex --dir <path>

# 创建纯前端应用
npx --yes @lark-apaas/openclaw-dev-cli init --template <html|vite-react> --dir <path>

# clone 后初始化
npx --yes @lark-apaas/openclaw-dev-cli init --dir <path>

| 选项 | 说明 | 默认值 | |------|------|--------| | --dir <path> | 项目目录 | . | | --template <template> | 模板类型(无代码时必须) | - | | --title <title> | 应用名称 | 目录名 | | --description <desc> | 应用描述 | "" | | --template-version <version> | 模板包版本 | latest | | --app-id <id> | 使用已有应用 ID(跳过注册) | - | | --features <features...> | 覆盖模板默认 features | 从模板 mclaw.features 读取 | | --skip-install | 跳过依赖安装 | false | | --sync-install | 同步等待依赖安装完成 | false |

默认异步安装依赖(后台运行),init 立即返回。用 mclaw-dev check 校验安装是否完成。

check — 检查项目完整性

npx --yes @lark-apaas/openclaw-dev-cli check [--dir <path>]

检查规则:

  • node-modules — node_modules 是否存在(检测后台安装状态)
  • meta-json — .spark/meta.json 是否完整
  • package-json — package.json 是否有 build 脚本

link — 关联已有项目

npx --yes @lark-apaas/openclaw-dev-cli link --app-id <id> --template <type>

| 选项 | 说明 | 默认值 | |------|------|--------| | --dir <path> | 项目目录 | . | | --app-id <id> | 要关联的应用 ID | 不传则自动注册 | | --template <template> | 技术栈类型 | 从 package.json mclaw 字段读取 | | --title <title> | 应用名称 | 目录名 | | --description <desc> | 应用描述 | "" |

deploy — 部署应用

npx --yes @lark-apaas/openclaw-dev-cli deploy

| 选项 | 说明 | 默认值 | |------|------|--------| | --dir <path> | 项目目录 | . | | --skip-build | 跳过构建 | false |

deploy 流程:check → createPublish → 获取凭证 → build → prune(全栈) → validate → upload → FaaS 部署(全栈) → updatePublish

全栈项目(archType=1)额外执行:

  • 智能依赖裁剪:@vercel/nft 追踪 + 选择性复制 node_modules
  • server.zip 打包:服务端代码 + 裁剪后的 node_modules + run.sh
  • FaaS 部署:触发 VeFaaS 部署并轮询状态

全局选项

| 选项 | 说明 | |------|------| | --canary <env> | 设置 canary 泳道 | | -V, --version | 输出版本号 |

支持的技术栈

| 模板 | 类型 | 说明 | |------|------|------| | html | 纯前端 | 纯 HTML + Tailwind CDN | | vite-react | 纯前端 | Vite + React 19 + Tailwind CSS + shadcn/ui | | apex | 全栈 | Vite + React + Express + Drizzle + PostgreSQL |

环境配置

在项目目录下创建 .env 文件:

FORCE_AUTHN_INNERAPI_DOMAIN=<API域名>
FORCE_AUTHN_ACCESS_KEY=<AK>
FORCE_AUTHN_ACCESS_SECRET=<SK>

License

MIT