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

create-cxiaof-react-cli

v2.0.0-beta.1

Published

ccrc 自用 react 脚手架

Readme

create-cxiaof-react-cli

ccrc 自用 react 脚手架


Used

create app by ccrc

  • install
npm install -g create-cxiaof-react-cli
  • create

Usage:
ccrc <projectName> [options]

Options:
-V, --version output the version number
-t, --template <preset> Vite 模板 (default: "react-ts")
-m, --manager <management> 包管理器 (default: "pnpm")
-no, --noinstall 不安装依赖
-map, --map 创建为地图项目
-h, --help display help for command

example

# 全部采用默认值:pnpm + react + ts
ccrc youre_project_name

# 使用其他vite模板
ccrc youre_project_name --template react
# or
ccrc youre_project_name -t vue

# 使用其他包管理器
ccrc youre_project_name --manager yarn
# or
ccrc youre_project_name -m npm

# 不自动安装依赖
ccrc youre_project_name --noinstall
# or
ccrc youre_project_name -no

# 创建为地图项目
ccrc youre_project_name --map
# or
ccrc youre_project_name -map

# 使用所有参数
ccrc youre_project_name -t react -m yarn -map -no

Development

Prerequisites

npm install

run in the local environment

npm link

clear development

npm unlink create-cxiaof-react-cli -g

Folder Structure

.
├─.editorconfig                             // 编辑器代码规范插件'EditorConfig'配置
├─.gitignore                                // git忽略同步的文件及目录
├─.prettierrc                               // js代码规范插件'prettier'配置
├─bin.js                                    // bin脚本产物(自动生成)
├─LICENSE                                   // LICENSE文件
├─package.json                              // packageJSON
├─pnpm-lock.yaml                            // 依赖模块版本信息(自动生成)
├─README.md                                 // README文件
├─src                                       // 开发文件目录
|  └...                                     //
└─ccrc-template                             // 模版目录
   ├─jsconfig.json                          // alias配置文件
   ├─template.json                          // packageJSON补充项模版文件
   ├─template                               // 通用模版文件
   |  └...                                  //
   ├─template-js                            // js版本模版文件
   |  └...                                  //
   └─template-ts                            // ts版本模版文件
      └...                                  //

TODO LIST

  • [ ] 默认携带 component ErrorBoundary
  • [ ] 克隆模板时改为目录覆盖以消除冗余