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-vmsmiaa-cli

v1.0.2

Published

A cli to create a app frame

Readme

create-vmsmia-cli

paas平台的脚手架工具,通过 cli 创建项目,就像创建vue项目一样,快速下载模板项目。

快速开始

pnpm create vmsmia-cli <project-name>

根据提示输入description,选择项目模块,默认是子应用模板。 micro-app:子应用模板;main-app:主应用项目

修改脚手架

如果需要修改脚手架内容,修改完之后可以在本地进行调试,以下是几种调试方式

本地修改完src文件,并进行了build,再执行start命令

pnpm build
pnpm start

本地修改完src文件,先进行build;再通过npm link将包作为全局依赖,可通过npm list -g 查看;然后执行npm create vmsmia-cli

pnpm build
pnpm link
npm create vmsmia-cli <projectName>

发布:发布到npm私域仓库,并且如果node_modules中有修改也要同步到npm私域上

pnpm build
npm publish

最后很重要的一点就是:当发布之后,执行脚手架命令时会发现没有生效,那是因为之前我们运行过这个脚手架,本地的pnpm缓存中已经存在此脚手架的源码了,需要我们删除pnpm的cache,一般都在【C:\Users\xxx\AppData\Local\pnpm-cache】 脚手架的原理:运行pnpm create vmsmia-cli , 其实就是先将create-vmsmia-cli这个包下载到本地,然后执行对应的bin命令

  1. 使用 npx 运行 create-vite 包:当你运行 npm create vite 时,npm 实际上是通过 npx 运行 create-vite 脚本。
  2. 下载并执行 create-vite 包
    1. 如果你本地没有安装 create-vite,npx 会首先从 npm 注册表中下载该包,并将其暂时存储在本地。
    2. 如果你已经有本地缓存的 create-vite 版本,npx 会直接使用缓存的版本,避免重复下载。
  3. 运行 create-vite 脚本:一旦 npx 安装了 create-vite 包,它会立即执行其中的初始化脚本。这通常是一个命令行交互脚本,用来引导用户选择并生成一个新项目的模板。