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

vcool-cli

v1.2.2

Published

A CLI tool to create vcool admin system projects

Downloads

18

Readme

vcool-cli

一个用于快速创建 vcool 后台管理系统项目的脚手架工具。

项目源码

vcool 项目模板托管在 Gitee 上,欢迎查看源码和贡献:

🔗 项目地址https://gitee.com/vcooller/vcool

如果您在使用过程中遇到任何问题或有功能建议,欢迎:

特性

  • 🚀 基于 Vue 3 + Vite 的现代化后台管理系统模板
  • 💎 Element Plus UI 组件库
  • 📦 集成 Pinia 状态管理
  • 🎨 集成 Tailwind CSS
  • 🔥 支持自动导入 API 和组件
  • 📝 交互式命令行界面
  • 🎯 支持多种包管理器(npm/yarn/pnpm)
  • ✨ 可选的 Git 初始化和依赖安装

环境要求

  • Node.js >= 20.19.0
  • Git(用于克隆项目模板)

安装

npm install -g vcool-cli
# 或
yarn global add vcool-cli
# 或
pnpm add -g vcool-cli

使用

创建新项目

vcool create my-admin

在当前目录初始化项目

vcool init

强制覆盖已存在的目录

vcool create my-admin --force

查看版本和帮助

vcool --version
vcool --help

交互式选项

在创建项目时,CLI 会询问以下选项:

  1. 项目名称 - 你的项目包名(将用于 package.json)
  2. 项目描述 - 项目的简短描述
  3. 作者 - 项目作者信息
  4. 包管理器 - 选择 npm、yarn 或 pnpm
  5. 初始化 Git - 是否初始化 Git 仓库
  6. 安装依赖 - 是否立即安装项目依赖

项目结构

my-admin/
├── src/
│   ├── api/          # API 接口
│   ├── components/   # 公共组件
│   ├── layouts/      # 布局组件
│   ├── router/       # 路由配置
│   ├── stores/       # Pinia 状态管理
│   ├── views/        # 页面组件
│   └── main.js       # 入口文件
├── public/           # 公共资源
├── vite.config.js    # Vite 配置
├── tailwind.config.js # Tailwind 配置
└── package.json      # 项目配置

启动项目

cd my-admin
npm install
npm run dev

技术栈

  • Vue 3 - 渐进式 JavaScript 框架
  • Vite - 下一代前端构建工具
  • Element Plus - Vue 3 UI 组件库
  • Vue Router - 官方路由管理器
  • Pinia - Vue 3 状态管理
  • Tailwind CSS - 实用优先的 CSS 框架
  • Axios - HTTP 客户端

许可证

MIT