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-ad

v1.0.13

Published

create-ad

Readme

create-ad

NPM version

一个简单高效的 Vue3 项目脚手架工具,专注于自动生成模板,让开发者快速搭建项目。

✨ 特性

  • 🚀 快速创建 Vue3 项目
  • 📦 多种项目模板可选
  • 🎨 自动生成 Vue 组件
  • 💻 智能目录结构管理
  • 🔧 支持命令行交互式配置
  • 📱 跨平台兼容(Windows/macOS/Linux)

🚀 快速开始

创建项目

pnpm create ad my-project

运行命令后,会出现交互式界面供您选择项目模板:

  1. npm模板 - 基础 npm 包模板
  2. Vue3 基础模板 - Vue3 基础项目模板
  3. Vue3 门户模板 - Vue3 门户网站模板
  4. Vue3 后端管理系统模板 - Vue3 后台管理系统模板

📋 命令详解

pnpm create ad <project-name>

创建新项目

参数:

  • project-name - 项目名称

示例:

pnpm create ad my-vue-app

🛠️ 功能详情

项目创建流程

  1. 选择项目模板
  2. 自动克隆远程模板仓库
  3. 自动安装项目依赖
  4. 初始化 Git 仓库
  5. 自动打开项目文件夹

组件生成特性

  • 自动将驼峰命名转换为 kebab-case 文件名
  • 生成标准的 Vue3 Composition API 组件结构
  • 支持指定目录和独立文件夹模式
  • 自动创建不存在的目录

📁 项目结构

生成的 Vue 组件模板包含:

<template>
  <div class="component-name">
    <h2>ComponentName: {{ message }}</h2>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const message = ref('哈哈哈')
</script>

<style>
.component-name {
  color: red;
}
</style>

🌟 模板库

当前支持的项目模板:

| 模板类型 | 描述 | 适用场景 | |---------|------|----------| | npm模板 | 基础 npm 包开发模板 | 工具库开发 | | Vue3 基础模板 | 纯净的 Vue3 项目 | 小型项目 | | Vue3 门户模板 | 企业门户网站模板 | 官网、展示站 | | Vue3 后端管理系统模板 | 完整的后台管理系统 | 管理后台 |

📄 许可证

MIT License © 2024 goodswifter

🤝 贡献

欢迎提交 Issue 和 Pull Request!

📞 联系

  • 作者:goodswifter
  • 邮箱:[email protected]
  • GitHub:https://github.com/goodswifter/create-ad