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

@zcxiaobao-cli/cli

v0.0.3

Published

cli main

Readme

zcli 简介

版本: 目前还处于第一阶段测试中

志在打造全流程脚手架,解放"繁琐"的过程,降本提效。

开发进度——github 仓库

  • [x] 项目创建——init 指令
  • [x] Git 仓库下载器——install 指令
  • [x] 自动化代码提交——commit 指令
  • [x] 自动化代码合并——publish 指令
  • [ ] 代码规范检查——lint 指令
  • [ ] 自动化云发布部署——deploy 指令
  • [ ] 其他指令

安装下载

npm install @zcxiaobao-cli/cli -g

下载完毕后,命令行使用 zcli 即可。

配置项

  1. -V zcli 版本信息
  2. -d 开启 debug 模式,更准确、更全面的过程提示及错误提示
  3. -h help 指令

项目创建 init 指令

// 具体使用
zcli init

init 指令目前仅支持项目创建,组件还在后续开发中。

优点

  1. zcli 脚手架自带多套标准模板,可供大家使用,同时支持模板的缓存及更新功能。
  2. zcli 项目信息交互式配置,支持 ejs 动态渲染。
  3. init 指令还提供模板依赖安装及项目自启动功能,几句指令,轻松搭建项目开发。

后续开发设想

  1. 将模板信息存储在后端中,支持模板的增删查改,增加模板使用的自由度。
  2. 扩展 init 指令配置项,可实现本地项目直接转化为模板功能。
  3. 。。。

commit 指令

// 具体使用
zcli commit [-m]

提供 -m 配置项,使用该配置项,可以在本地发起 pull requests 请求。

commit 指令运行依据 gitflow 机制,可实现多人协作,具体流程可分为 5 个阶段,见下图。

commit 指令几乎复刻了开发中的代码提交工作,可以实现代码提交的全流程自动化。目前仅支持 github 托管平台,gitee 后续开发中。

publish 指令

// 具体使用
zcli publish [-r]

提供 -r 配置项,打包 tag,迭代 version。

publish 指令前三个阶段与 commit 指令相同,仅在后两个阶段有区别。

install 指令

代码下载器指令

// 具体使用
zcli install
  1. 支持源码、仓库两种查询方式
  2. 获取仓库信息后,提供上下翻页功能
  3. 支持获取仓库的各 tag 版本,同样支持翻页功能
  4. 选定仓库后,下载仓库
  5. 对于 npm 格式仓库,目前还支持依赖安装及自启动