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

heiqi-cli

v0.1.5

Published

heiqi-cli 脚手架

Readme

heiqi-cli

一个简单的脚手架工具,用于快速创建和管理项目。

功能特性

  • 🚀 快速创建项目
  • 📦 自动安装依赖
  • 🎯 自动启动项目
  • 🔄 支持项目更新

安装

npm install heiqi-cli -g

使用方法

创建项目

heiqi create <project-name>

更新脚手架

heiqi update

项目结构

heiqi-cli/
├── src/
│   ├── command/        # 命令实现
│   ├── utils/          # 工具函数
│   └── index.ts        # 入口文件
├── package.json
└── README.md

开发

# 安装依赖
pnpm install

# 开发模式
pnpm run dev

# 构建
pnpm run build

依赖说明

核心依赖

  • @inquirer/prompts: 命令行交互工具,提供文本输入、选择列表等交互组件
  • chalk: 命令行输出美化工具,支持彩色文本输出
  • commander: 命令行工具开发框架,用于创建命令和子命令
  • log-symbols: 命令行日志符号,提供统一的日志标识
  • ora: 命令行加载动画,用于显示长时间运行的操作进度
  • progress-estimator: 进度估算工具,显示操作进度和预估时间
  • simple-git: Git 操作封装,提供简单的 Git 命令接口

开发依赖

  • @rollup/plugin-commonjs: Rollup 插件,支持 CommonJS 模块转换
  • @rollup/plugin-json: Rollup 插件,支持 JSON 文件导入
  • @rollup/plugin-node-resolve: Rollup 插件,用于解析 Node.js 模块
  • @rollup/plugin-terser: Rollup 插件,用于代码压缩和混淆
  • rollup-plugin-esbuild: Rollup 插件,使用 ESBuild 进行代码转换
  • rollup-plugin-node-externals: Rollup 插件,自动识别外部依赖
  • rollup-plugin-typescript2: Rollup 插件,支持 TypeScript 编译

TypeScript 相关

  • @types/fs-extra: fs-extra 的类型定义
  • @types/lodash: lodash 的类型定义
  • @types/node: Node.js 的类型定义
  • tslib: TypeScript 运行时库
  • typescript: TypeScript 编译器

工具库

  • axios: HTTP 客户端,用于发起网络请求
  • fs-extra: 文件系统操作扩展库
  • lodash: 实用工具函数库

License

MIT