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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@zpeak/cli

v1.0.10

Published

是一个多功能的命令行工具集,旨在通过提供一系列命令来简化开发工作流程。目前支持项目模板生成功能,并计划扩展更多实用功能。

Readme

@zpeak/cli

@zpeak/cli 是一个多功能的命令行工具集,旨在通过提供一系列命令来简化开发工作流程。目前支持项目模板生成功能,并计划扩展更多实用功能。

功能特性

  • 🚀 项目模板生成(当前版本)
  • 🔧 未来将支持更多开发工具功能
  • 🎯 交互式命令行界面
  • 🌐 自动从远程仓库同步最新资源
  • 🛠️ 简单易用的命令和选项

安装

使用 npm 全局安装:

npm install -g @zpeak/cli

或者使用 yarn:

yarn global add @zpeak/cli

或者使用 pnpm:

pnpm add -g @zpeak/cli

使用

安装完成后,可以通过 peakzpeak 命令来使用该工具:

# peak / zpeak
zpeak <command> [options]

当前可用命令

template

根据指定模板生成项目。

  • 别名: t
  • 用法: peak template [originName] [projectName]
参数
  • originName (可选): 要使用的模板的名称。如果未提供,将显示可用模板列表供您选择。
  • projectName (可选): 新项目的名称。如果未提供,系统将提示您输入项目名称。
选项
  • -p, --path <path>: 指定生成项目模板的路径。默认为当前目录。
示例
# 使用交互式方式选择模板并创建项目
peak template

# 使用指定模板创建项目
peak template pnpm-monorepo my-project

# 指定项目生成路径
peak template pnpm-monorepo my-project -p ./projects

模板仓库

CLI 工具会自动从以下远程仓库获取模板:

https://gitee.com/Iontheroad/project-template.git

本地缓存路径:

{系统临时目录}/zpeak-template

未来规划

@zpeak/cli 正在积极开发中,未来版本将添加更多实用命令,敬请期待!

故障排除

如果遇到问题,请尝试以下解决方案:

  1. 清除本地缓存并重新下载模板:

    # 删除本地缓存目录后重新运行命令
  2. 检查网络连接是否正常,确保可以访问模板仓库。

  3. 更新到最新版本:

    npm update -g @zpeak/cli

贡献

欢迎提交 Issue 和 Pull Request 来帮助我们改进这个工具。

许可证

MIT