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-ohh-naive-admin

v1.0.14

Published

Scaffold a Vue 3 + Naive UI admin project.

Readme

create-ohh-naive-admin

一个用于快速创建 ohh-naive-admin 后台模板项目的 create-* 脚手架包。

使用方式

发布到 npm 后,可以直接执行:

pnpm create ohh-naive-admin my-admin

查看帮助:

pnpm create ohh-naive-admin --help

如果不传目录名,脚手架会在终端里交互询问项目目录。

创建结果

脚手架会从 template 目录复制模板源码到目标目录,并自动完成这些处理:

  • 支持 --help--force
  • 阻止将项目创建到模板目录本身或模板目录内部
  • 不复制根目录的脚手架基础设施文件
  • 生成新的 package.json
  • 根据目标目录名写入 name
  • 默认写入 version: 1.0.0
  • 设置 private: true
  • 删除脚手架专用字段和脚本

创建完成后,终端会提示执行:

pnpm install
pnpm dev

仓库结构

本地调试

本地调试脚手架时,可以直接执行:

pnpm create:local my-admin

或:

node ./index.mjs my-admin

维护命令

当前根包主要用于脚手架维护,常用命令包括:

pnpm create:local my-admin
pnpm create:smoke
pnpm pack:check

如果需要验证发布包内容,可执行:

npm pack --dry-run

模板项目说明

如果你关心的是生成后的后台项目怎么开发,请直接看:

环境要求

  • Node.js: 24.11.1
  • pnpm: 10.33.0

免责声明

本项目仅供学习与参考使用。

如果将本项目用于商业用途,使用者应自行评估风险并承担由此产生的责任;对于因使用本项目而引发的错误、损失或其他后果,作者不承担相关责任。