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

zc-project-cli

v0.1.1

Published

项目初始化CLI工具

Readme

zc-project-cli

一个快速创建和初始化前端项目的命令行工具,支持 Vue3 和 React 技术栈的项目模板。

特性

  • 🚀 快速创建项目:一键生成基于 Vue3 或 React 的项目模板
  • 📦 自动依赖安装:项目创建后自动安装依赖
  • 🎨 交互式命令行:友好的命令行交互体验
  • 🔄 版本检测:自动检查 CLI 工具的版本更新
  • 🛠 模板管理:支持多种项目模板,可根据需求选择

安装

npm install zc-project-cli -g
npx --registry=https://registry.npmmirror.com npm install zc-project-cli -g

使用方法

创建新项目

zc-project-cli create [project-name]

如果不指定项目名称,将会提示输入。

更新 CLI 工具

zc-project-cli update

查看帮助信息

zc-project-cli --help

支持的项目模板

  • Vite5-Vue3.5-Typescript-template:基于 Vue3 技术栈的前端开发模板
    • 特点:使用 Vite5 构建,Vue3.5 框架,TypeScript 支持
  • React-template:基于 React 技术栈的前端开发模板
    • 特点:React 技术栈,现代化开发体验

技术栈

  • Node.js (>=16.18.0)
  • Commander.js - 命令行界面开发
  • Inquirer - 交互式命令行工具
  • Chalk - 终端字符样式
  • Ora - 终端加载动画
  • Simple-git - Git 操作
  • Figlet - ASCII 艺术字体
  • Progress-estimator - 进度条估算
  • Rollup - 打包工具

开发

# 安装依赖
pnpm install

# 开发模式
pnpm run dev

# 构建
pnpm run build

注意事项

  • 确保 Node.js 版本 >= 16.18.0
  • 使用管理员权限运行可能需要 sudo(Linux/macOS)或管理员模式(Windows)
  • 项目模板会持续更新,建议定期使用 update 命令更新 CLI 工具

License

ISC