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

@twotwoba/vv-cli

v2.8.6

Published

Easily create Vite + React/Vue3 project with TailwindCSS and other useful libraries. Also support Chrome extension.

Readme

Here is the updated README.zh-CN.md:

简体中文 | [English](README.md)

# 🚀 React、Vue 与 Chrome 扩展开发模板

通过这些精心打造、功能丰富的 Vue 3、React 19 和 Chrome 扩展模板来简化您的开发工作流程,它们都由 Vite 5+ 提供支持。每个模板都经过精心配置,旨在为您提供一致且现代的开发体验。

---

## 🛠️ 简化配置

我们已经处理了必要的设置,因此您可以专注于构建出色的应用程序:

-   **统一代码风格**:一个项目级别的 `settings.json` 文件用于 VS Code,确保代码格式化的一致性(集成了 ESLint、StyleLint 和 Prettier)。虽然此模板为 VS Code 用户进行了优化,但使用其他编辑器的开发者需要自行安装和配置相关依赖以获得类似体验。
-   **包管理器**:我们统一使用 **pnpm**,以实现高效可靠的依赖管理。
-   **极速开发体验**:两个模板都利用 **Vite 5+**,为您提供令人难以置信的快速开发服务器和构建时间。

> template-vue 和 template-vue-mobile 现在使用 Vite8(rolldown beta)

---

## ⚛️ React 19 开发模板

此模板基于官方 [React-TS](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) 启动器,并内置了:

1.  **Shadcn UI**: 精心设计、可定制的 UI 组件,加速您的开发。
2.  **Tailwind CSS + Lucide Icons**: 一个实用至上的 CSS 框架,搭配一套全面且风格一致的图标集。
3.  **Tanstack Query**: 强大的异步状态管理库,用于数据获取、缓存和同步。
4.  **useHooks**: 一系列常用且经过实践检验的 React Hooks,增强您的组件逻辑。
5.  **Zustand 状态管理**: 一个小巧、快速且可扩展的 React 状态管理方案。
6.  **Biome**:替代eslint&prettier,更流畅的开发体验。

---

## ✨ Vue 3 开发模板

此模板基于官方 [Vue-TS](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-vue-ts) 启动器,并在此基础上进行了功能增强:

1.  **自动导入**: 告别手动导入!自动导入 API 和组件,带来更流畅的编码体验。
2.  **Unocss + Iconify**: 强大的组合,用于样式设计和灵活的图标管理方案。
3.  **Tanstack Query**: 强大的异步状态管理库,用于数据获取、缓存和同步。
4.  **vueuse**: 一系列常用的 vue hooks,增强您的组件逻辑。
5.  **Pinia 状态管理**: 适用于 Vue 的简单、直观且类型安全的状态管理方案。

---

## 📱 Vue 3 移动端开发模板

此模板基于官方 [Vue-TS](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-vue-ts) 启动器,并为移动端开发进行了优化:

1.  **自动导入**: 告别手动导入!自动导入 API 和组件,带来更流畅的编码体验。
2.  **Unocss + Iconify**: 强大的组合,用于样式设计和灵活的图标管理方案。
3.  **Tanstack Query**: 强大的异步状态管理库,用于数据获取、缓存和同步。
4.  **vueuse**: 一系列常用的 vue hooks,增强您的组件逻辑。
5.  **Pinia 状态管理**: 适用于 Vue 的简单、直观且类型安全的状态管理方案。

---

## 🧩 Chrome 扩展开发模板

一个使用 React 19、TypeScript 和 Manifest V3 构建的现代 Chrome 扩展模板:

1. **React 19 + TypeScript**: 最新的 React 版本,为扩展开发提供完整的类型安全。
2. **Manifest V3**: 基于最新的 Chrome 扩展标准,使用 Service Worker 构建。
3. **CRXJS + Vite**: 为扩展提供无缝的开发体验和热重载功能。
4. **TailwindCSS + Radix UI**: 为弹窗和选项页面提供美观、易用的 UI 组件。
5. **多环境支持**: 弹窗、选项页、内容脚本和后台脚本。
6. **Shadow DOM 集成**: 为内容脚本组件提供隔离的样式。

---

## 🚀 如何使用

使用这些模板启动新项目非常简单:

```bash
# 全局安装 CLI
npm i @twotwoba/vv-cli -g

# 创建新项目
vv <your-project-name>

选择您偏爱的模板,立即开始构建您的下一个出色应用程序吧!