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

yangtze-cli

v0.1.3

Published

## 为什么要使用 yangtze-cli?

Readme

yangtze-cli

为什么要使用 yangtze-cli?

🤩 项目交付,唯快不破 🎯

功能

快速上手搭建前端项目,提供多类项目模版,有效实现快速迭代、规范开发。 提供项目模版包括:

  • 🖥️ PC 端项目模版(React/Umi/Typrscript)
  • 📱 移动端项目模版(Vue/uni-app)
  • (...不断更新中...)

如何使用

安装

$ npm i -g yangtze-cli
$ yangtze-cli -v
$ yarn global add yangtze-cli
$ yangtze-cli -v

创建项目

进入所需存放项目文件夹的目录,执行以下命令,将在该文件夹下建立命令行中所设项目名称的项目文件夹。

$ cd ~/location/of/project/folder
$ yangtze-cli create <project-name> [options] // 参数可选:-f 或 --force 强制创建

安装依赖

$ cd ~/location/of/project/folder/<project-name>
$ npm i
$ cd ~/location/of/project/folder/<project-name>
$ yarn

启动项目

web 端常用启动方法:

$ cd ~/location/of/project/folder/<project-name>
$ npm run start
$ cd ~/location/of/project/folder/<project-name>
$ yarn start

其他模版项目启动方式可参照项目模版文件夹下的 package.json 文件命令配置。

代码提交

模版下载完成后已自动初始化 git 仓库,首次提交代码需在配置 git 远程仓库后进行。

$ git remote add origin <git-url>
$ git add .
$ git commit -m "initial commit"
$ git push origin master

其他

  1. 查看帮助信息
$ yangtze-cli -h
  1. 所选模版项目的 开发规范注意事项目录结构 等参照对应模版项目说明。

持续开发

关于模版项目的持续开发,请注意如下规范:

  1. 模版项目集中放置于长江代码库统一项目目录下 (长江大数据代码库)
  2. 脚手架中供选择的模版名称即模版项目名称,用于自动配置模版下载地址,请勿随意修改
  3. 模版项目不同版本需拉取不同分支进行管理,分支名称即版本号,default 版本即默认最新版本( default 版本对应 master 分支),例:v1.0.0
  4. 保持项目 master 分支为最新版本

版本日志

| 版本号 | 更新日期 | 更新内容 | | ------ | ---------- | ---------------------------------- | | v0.1.2 | 2022-08-03 | 获取模版项目,快速构建前端项目代码 | | v0.1.3 | 2022-08-11 | 更新分组密钥 |

待更新功能

  • 脚手架安全性优化