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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-project-template-cli

v1.0.4

Published

模板快速创建

Readme

create-project-template-cli

一个快速创建项目模板的命令行工具,支持多种流行的前端框架和UI库组合,帮助开发者快速搭建项目骨架。

功能特点

  • 🚀 快速启动: 通过简单的命令快速创建项目
  • 📋 多种模板: 内置React + Shadcn、Vue + TailwindCSS等流行模板
  • 🔧 自定义模板: 支持从Git仓库拉取自定义模板
  • 💡 交互式操作: 提供友好的命令行交互界面

安装

通过npm全局安装

npm install -g create-project-template-cli

通过pnpm全局安装

pnpm add -g create-project-template-cli

直接使用npx (无需安装)

npx create-template

使用方法

创建新项目

在要创建项目的目录中执行:

create-template

或者使用npx直接运行:

npx create-template

交互式操作流程

  1. 选择要使用的模板类型
  2. 输入项目名称
  3. 等待模板创建完成

支持的模板

目前支持以下模板:

  • React + Shadcn: 基于React的现代化UI组件库模板
  • Vue + TailwindCSS: 基于Vue和TailwindCSS的现代前端开发模板

使用自定义模板

您可以使用Git仓库中的自定义模板:

  1. 在模板选择中选择「自定义模板」
  2. 输入Git仓库地址(支持GitHub、GitLab等)
  3. 工具将自动拉取模板并创建项目

开发指南

克隆仓库

git clone [repository-url]
cd create-project-template-cli

安装依赖

pnpm install

本地开发

node index.js

模板结构

每个模板都包含以下核心功能:

  • 现代化构建工具配置
  • 代码规范和linting配置
  • 开发环境和生产环境构建脚本
  • 基础目录结构

许可证

MIT © [项目作者]


更新日志

v1.0.0

  • 初始版本
  • 支持React + Shadcn模板
  • 支持Vue + TailwindCSS模板
  • 支持自定义模板功能