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

@lucas-zyh/create-react-stack

v0.1.0

Published

A React scaffold CLI for generating production-ready Vite projects.

Readme

create-react-stack

一个用于生成 React 项目的 Node.js CLI 脚手架。

Node License

npx @lucas-zyh/create-react-stack my-app

安装

# 直接用 npx 运行(无需全局安装)
npx @lucas-zyh/create-react-stack my-app

# 或全局安装后使用
npm install -g @lucas-zyh/create-react-stack
create-react-stack my-app

要求:Node.js >= 18

特性

  • 基于 Vite 7 生成 React 19 项目
  • 交互式与命令行参数两种模式
  • 可选特性:
    • TypeScript
    • ESLint(flat config v9)
    • Redux Toolkit
    • Tailwind CSS v4
    • React Router v7
    • Vitest + Testing Library
    • Prettier
  • 自动 Git 初始化
  • 可选择自动安装依赖
  • 零运行时依赖(仅 Node.js 内置模块)
  • 进度条与彩色输出

用法

node ./bin/create-react-stack.js my-app
node ./bin/create-react-stack.js

常用参数:

| 参数 | 说明 | |------|------| | -n, --name <name> | 项目名 | | -p, --package-manager <name> | pnpm / npm / yarn / bun | | --typescript / --no-typescript | TypeScript 开关 | | --eslint / --no-eslint | ESLint 开关 | | --redux / --no-redux | Redux Toolkit 开关 | | --tailwind / --no-tailwind | Tailwind CSS 开关 | | --router / --no-router | React Router 开关 | | --vitest / --no-vitest | Vitest 开关 | | --prettier / --no-prettier | Prettier 开关 | | --git / --no-git | Git 初始化开关 | | --install / --no-install | 自动安装依赖开关 | | -y, --yes | 跳过交互模式 | | --force | 强制覆盖非空目录 | | -h, --help | 显示帮助 |

约定

v2 默认输出的是全部特性开启(Vitest 和自动安装除外)的模板。 如果关闭 TypeScript,生成器会切换为对应的 JavaScript 文件结构。