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

@wagq/wa-cli

v0.6.31

Published

wa的脚手架

Downloads

264

Readme

wa-cli

基于 Commander 的本地脚手架(@wagq/wa-cli)。

安装

npm i -g @wagq/wa-cli

全局安装后使用 wa <命令> 调用。

wa --help

命令一览

以下命令以 config/command.js 为准(含别名/参数)。

init

  • 作用:项目初始化工具
  • 用法wa init <name>
  • 别名wa i <name>
wa init my-app

server

  • 作用:启动本地静态服务
  • 用法wa server [path]
  • 别名wa s [path]
  • 位置参数
    • path:文件路径,默认 dist
  • 选项
    • -P, --port <port>:端口
    • -S, --https <boolean>:是否开启 https
wa server
wa server dist -P 3000 -S true

xlsx2Config

  • 作用:xlsx 文件转多语言配置
  • 用法wa xlsx2Config <path> <name> <ext>
  • 别名wa l <path> <name> <ext>
  • 位置参数
    • path:文件路径
    • name:xlsx 文件名称
    • ext:转换文件格式(tsjson
wa xlsx2Config ./locale excel.xlsx json

daml

  • 作用:同步低代码逻辑器文件
  • 用法wa daml
  • 别名wa d
wa daml

damls

  • 作用:从应用同步所有页面的逻辑器与变量值
  • 用法wa damls
  • 别名wa da
  • 配置:可将 appIdbranchidtoken 写入 ~/.damlrc(数组形式)

~/.damlrc 示例(JSON):

[
  {
    "origin": "https://example.com",
    "appId": "xxx",
    "branchid": "yyy",
    "token": "zzz",
    "appName": "my-app"
  }
]
  • 字段说明
    • origin:请求域名(/api/assembler/page/list 页面列表接口域名)
    • appId / branchid / token:请求参数
    • appName:应用名称(区分不同应用的标识);生成的文件会放在以 appName 命名的文件夹下
wa damls

batchUpdate

  • 作用:批量升级依赖包(可指定组织,只更新组织下的依赖)
  • 用法wa batchUpdate
  • 别名wa bu
wa batchUpdate

web2exe

  • 作用:将网页打包成 exe(内部调用 nativefier
  • 用法wa web2exe <name> <path> [icon]
  • 别名wa we <name> <path> [icon]
  • 参数说明
    • name:应用名称
    • path:网页地址或本地 html 文件路径(会透传给 nativefier
    • icon:图标路径(可选)
wa web2exe MyApp https://example.com ./icon.ico

skills

  • 作用:交互选择并执行与 openskills 相关的常用命令(需本机可执行 npx
  • 用法wa skills
  • 别名wa sk
  • 交互选项
    • getList:执行 npx openskills install anthropics/skills
    • sync:执行 npx openskills sync
wa skills