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

tmy-gaoxin-cli

v1.1.7

Published

一个基于React+TypeScript的前端开发脚手架工具

Readme

TMY-Gaoxin-CLI

一个基于React+TypeScript的前端开发脚手架工具,集成了多种实用命令行工具。

功能特点

  • 项目创建:快速创建基于React+TypeScript的项目
  • 组件生成:一键生成函数组件
  • 文件扫描:扫描项目中的TypeScript文件
  • 包信息查询:获取npm包的详细信息
  • 状态管理:集成Redux Toolkit状态管理解决方案
  • 路由管理:集成React Router进行路由管理
  • 国际化支持:集成i18next实现多语言国际化

安装

# 全局安装
npm install -g tmy-gaoxin-cli

# 或者使用yarn
yarn global add tmy-gaoxin-cli

# 或者使用pnpm
pnpm add -g tmy-gaoxin-cli

使用方法

显示帮助信息

tmy-gaoxin

创建新项目

tmy-gaoxin create my-project

扫描项目文件

tmy-gaoxin scan

获取npm包信息

tmy-gaoxin info react

生成组件

tmy-gaoxin generate component -n MyComponent

如果不提供组件名称(-n选项),会提示输入组件名称。

技术栈

  • React 19
  • TypeScript
  • Redux Toolkit
  • React Router
  • i18next
  • Vite
  • ESLint + Prettier
  • Commander.js
  • Inquirer.js
  • Chalk
  • Ora
  • Handlebars

项目结构

创建的项目结构如下:

my-project/
├── public/              # 静态资源
├── src/                 # 源代码
│   ├── assets/          # 资源文件
│   ├── components/      # 组件
│   ├── hooks/           # 自定义Hooks
│   ├── layouts/         # 布局组件
│   ├── locales/         # 国际化资源文件
│   │   ├── en/          # 英文翻译
│   │   └── zh/          # 中文翻译
│   ├── pages/           # 页面
│   ├── router/          # 路由配置
│   ├── services/        # 服务API
│   ├── store/           # Redux状态管理
│   │   └── slices/      # Redux切片
│   ├── types/           # 类型定义
│   ├── utils/           # 工具函数
│   ├── App.css          # 应用样式
│   ├── App.tsx          # 应用组件
│   ├── i18n.ts          # 国际化配置
│   ├── index.css        # 全局样式
│   └── main.tsx         # 入口文件
└── ...

贡献指南

欢迎提交Issue和Pull Request,一起完善这个工具!

许可证

MIT