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

fastgen

v0.0.10

Published

FastGen is a tool for generating code quickly and easily.

Readme

FastGen

npm version MIT License Node.js Version

FastGen 是一个高效的命令行工具,专为快速生成各种前端项目脚手架而设计。通过交互式命令行界面,你可以轻松创建管理后台、H5 移动端应用和小程序项目。

✨ 特性

  • 🚀 快速生成: 一键创建完整的项目结构
  • 🎯 多种类型: 支持 PC 管理后台、H5 移动端、小程序
  • 多技术栈: 支持 Vue、React、uni-app 等主流技术栈
  • 🎨 精选模板: 内置优质开源项目模板
  • 💫 交互体验: 友好的命令行交互界面
  • 📦 开箱即用: 模板项目可直接运行

🎯 支持的项目类型

| 项目类型 | 技术栈 | 模板名称 | 描述 | |---------|--------|----------|------| | 管理后台 (PC) | Vue | Vben Admin | 基于 Vue3、Pinia、Vue Router、TypeScript 的现代化管理后台 | | 管理后台 (PC) | React | Slash Admin | 基于 React18、Vite、TypeScript、Ant Design 5.0 的管理后台模板 | | H5 移动端 | Vue | Vue-H5-Template | 基于 Vite3 + Vue3 + Pinia + Vant + viewport 适配的移动端脚手架 | | H5 移动端 | Vue | vue3-vant-mobile | 基于 Vue 3 生态系统的移动 web 应用模板 | | 小程序 | uni-app | uni-best | 基于 uniapp + Vue3 + TypeScript + Vite4 + UnoCss + wot-ui 的最佳实践模板 |

📦 安装

全局安装 (推荐)

npm install -g fastgen
# 或
pnpm add -g fastgen
# 或
yarn global add fastgen

npx 使用 (无需安装)

npx fastgen

🚀 使用方法

  1. 启动工具

    fastgen
  2. 跟随交互式提示

    • 输入项目名称
    • 选择项目类型(管理后台/H5/小程序)
    • 选择技术栈(Vue/React/uni-app)
    • 选择具体模板
  3. 进入项目目录开始开发

    cd your-project-name

📸 使用演示

$ fastgen

🚀 欢迎使用 FastGen!
? 请输入项目名称: my-awesome-project
? 请选择项目类型: 管理后台
? 请选择技术栈: Vue
? 请选择项目模板: Vben Admin - 基于 Vue3、Pinia、Vue Router、TypeScript 等最新技术栈的管理后台模板

==================================================
📋 项目配置确认:
📁 项目名称:my-awesome-project
🎯 项目类型:管理后台
⚡ 技术栈:Vue
🎨 项目模板:Vben Admin
   基于 Vue3、Pinia、Vue Router、TypeScript 等最新技术栈的管理后台模板
==================================================

🔽 正在下载项目模板...
🎉 项目模板下载完成,你可以开始开发了!
   cd my-awesome-project

📄 许可证

本项目采用 MIT 许可证。详见 LICENSE 文件。