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

wanzhuang-cli

v1.0.1

Published

万桩项目脚手架工具

Readme

wanzhuang-cli

万桩项目脚手架工具,支持 React、Vue、UniApp 项目模板。

特性

  • 快速创建 React/Vue/UniApp 项目
  • 基于 Vite 构建,开发体验极佳
  • TypeScript 支持
  • ESLint 代码规范
  • API 生成器(基于 Swagger/OpenAPI)
  • 一键更新项目依赖

安装

# 使用 pnpm 安装(推荐)
pnpm add -g wanzhuang-cli

# 或使用 npm 安装
npm install -g wanzhuang-cli

# 或使用 yarn 安装
yarn global add wanzhuang-cli

使用指南

创建项目

# 创建项目
wz create my-project

# 指定模板类型
wz create my-project -t vue
wz create my-project -t react
wz create my-project -t uniapp

生成 API

基于 Swagger/OpenAPI 规范自动生成 TypeScript API 代码:

# 默认生成到 src/api 目录
wz api https://api.example.com/swagger.json

# 指定输出目录
wz api https://api.example.com/swagger.json -o ./src/services

生成的 API 包含:

  • TypeScript 类型定义
  • 请求函数
  • 参数验证

更新依赖

wz update

项目模板

React 模板

| 技术栈 | 版本 | | ------ | ------- | | React | ^19.1.0 | | Vite | ^6.3.5 |

Vue 模板

| 技术栈 | 版本 | | ------ | ------- | | Vue | ^3.5.13 | | Vite | ^6.3.5 |

UniApp 模板

跨平台开发框架,支持编译到多端:

| 技术栈 | 版本 | | ------ | ------- | | Vue | ^3.4.21 | | Vite | 5.2.8 |

支持平台:

| 平台 | 命令 | | ------------ | -------------------- | | H5 | pnpm dev:h5 | | 微信小程序 | pnpm dev:mp-weixin | | 支付宝小程序 | pnpm dev:mp-alipay |

命令一览

| 命令 | 说明 | 选项 | | ------------------ | ---------- | --------------------------------------------------- | | wz create <name> | 创建新项目 | -t, --template 模板类型-f, --force 强制覆盖 | | wz api <url> | 生成 API | -o, --output 输出目录 | | wz update | 更新依赖 | - |

环境要求

| 项目 | Node.js 版本 | | ----------- | ------------ | | CLI 工具 | >= 14.0.0 | | React 模板 | >= 18.0.0 | | Vue 模板 | >= 18.0.0 | | UniApp 模板 | >= 18.0.0 |