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

@yeepay/yeepay-cli

v1.2.3

Published

易宝前端脚手架

Readme

yeepay-cli

技术文档

前端脚手架搭建技术方案

开发&调试

入口文件 :bin/index.js

调试:在当前目录下 npm link 就可以开始调试了

目录结构

yeepay-cli
├─ CHANGELOG.md                 # 版本更新日志
├─ README.md                    # 项目说明文档
├─ bin
│  └─ index.js                 # CLI入口文件
├─ config
│  ├─ git.config.js            # Git相关配置
│  └─ inquire.config.js        # 命令行交互问题配置
├─ lib
│  ├─ init.js                  # 项目初始化逻辑
│  ├─ utils                    # 工具函数目录
│  │  ├─ changeFile.js         # 文件修改相关工具
│  │  ├─ gitCreateProject.js   # Git项目创建工具
│  │  ├─ log.js               # 日志输出工具
│  │  ├─ operateGit.js        # Git操作相关工具
│  │  └─ utils.js             # 通用工具函数
│  └─ view.js                  # 视图相关逻辑
├─ package.json                # 项目配置文件
├─ pnpm-lock.yaml             # pnpm依赖锁定文件
└─ publish.sh                 # 发布脚本

发布

sh publish.sh

工具使用:

【commander】node命令行接口解决方案

【chalk】输出彩色的字,可以搭配commander,zx等很多工具使用

【semver】node版本校验助手

【zx】google推出的命令行工具

【inquirer】交互式命令行集合,用于设置问题让用户选择

【ora】用来美化控制台的加载