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

v1.0.9

Published

🛠️ Create a WMS (Warehouse Management System) project with Vue 3, TypeScript, Vue Router, Pinia, Element Plus, and Tailwind CSS

Readme

create-wms

🛠️ 创建一个 WMS (仓库管理系统) 项目,使用 Vue 3、TypeScript、Vue Router、Pinia、Element Plus 和 Tailwind CSS。

使用方法

本地开发

  1. 安装依赖:
npm install
  1. 构建项目:
npm run build
  1. 测试本地构建:
node bundle.js my-wms-project

发布到 npm

  1. 构建项目:
npm run build
  1. 发布到 npm:
npm publish

使用已发布的包

发布后,用户可以通过以下命令创建 WMS 项目:

npm create wms

或者指定项目名称:

npm create wms my-wms-project

选项

  • --force: 即使目录不为空也创建项目
  • --no-dev: 创建项目后不自动运行 npm run dev
  • --help: 显示帮助信息
  • --version: 显示版本号

功能特性

  • ✅ Vue 3
  • ✅ TypeScript
  • ✅ Vue Router
  • ✅ Pinia
  • ✅ Element Plus
  • ✅ Tailwind CSS
  • ✅ ESLint
  • ✅ Prettier
  • ✅ 自动安装依赖
  • ✅ 自动启动开发服务器

项目结构

create-wms/
├── index.ts              # 主入口文件
├── package.json          # 包配置
├── rolldown.config.ts    # 构建配置
├── bundle.js            # 构建后的可执行文件(构建后生成)
├── locales/             # 国际化文件
├── template/             # 项目模板
│   ├── base/            # 基础模板
│   ├── config/           # 配置模板
│   ├── tsconfig/         # TypeScript 配置模板
│   └── wms/              # WMS 专用模板
└── utils/                # 工具函数

开发说明

项目使用 rolldown 将 TypeScript 源代码打包成单个 bundle.js 文件,该文件可以直接通过 Node.js 执行。

构建后的 bundle.js 文件包含了所有必要的依赖,可以直接发布到 npm。