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

com.azathrix.upm-editor

v1.0.7

Published

UPM 包创建、编辑和发布工具。支持 Inspector 可视化编辑、npm 发布、asmdef 自动同步。

Readme


特性

  • 创建 UPM 包,支持自定义模板
  • Inspector 编辑 package.json
  • 发布到 npm 官方、Verdaccio 或其他 npm 仓库
  • npm 登录状态检测
  • Unity 签名打包(Unity 6.3+)
  • 右键菜单快速操作
  • 自动同步 asmdef 文件

安装

方式一:Package Manager 添加 Scope(推荐)

  1. 打开 Edit > Project Settings > Package Manager
  2. Scoped Registries 中添加:
    • Name: Azathrix
    • URL: https://registry.npmjs.org
    • Scope(s): com.azathrix
  3. 点击 Save
  4. 打开 Window > Package Manager
  5. 切换到 My Registries
  6. 找到 UPM Editor 并安装

方式二:Git URL

  1. 打开 Window > Package Manager
  2. 点击 + > Add package from git URL...
  3. 输入:https://github.com/Azathrix/UpmEditor.git#latest

方式三:npm 命令

在项目的 Packages 目录下执行:

npm install com.azathrix.upm-editor

使用方法

创建新包

菜单: Azathrix > UPM Editor > 创建 UPM

创建包时可选择生成:

  • Runtime/ 目录(含 .asmdef)
  • Editor/ 目录(含 .asmdef)
  • Tests/ 目录(含测试 .asmdef)
  • Documentation~/ 目录
  • README.md / CHANGELOG.md / LICENSE.md

编辑现有包

在 Project 窗口中选中 UPM 包目录,Inspector 会显示编辑界面:

  • 修改包名、版本、描述等基本信息
  • 管理依赖项和关键词
  • 添加/删除目录和文件
  • 点击"保存"按钮保存更改

修改包名后保存会自动更新所有 asmdef 文件的名称和命名空间。

发布包

  1. 在 Inspector 中点击"发布"按钮,或菜单 Azathrix > UPM Editor > 发布 UPM
  2. 选择 Registry 类型(npm 官方 / Verdaccio / 自定义)
  3. 确认 npm 登录状态
  4. 选择打包方式(普通打包 / Unity 签名打包)
  5. 点击"发布"

发布到 npm 官方

  1. 先在终端登录:npm login
  2. 如果启用了 2FA,需要创建 Access Token:
    • 登录 https://www.npmjs.com → Access Tokens
    • 创建 Granular Access Token,勾选 "bypass 2FA"
    • 运行:npm config set //registry.npmjs.org/:_authToken=你的token
  3. 在发布窗口选择 "NpmOfficial",点击发布

右键菜单

在 Project 窗口中右键文件夹:

  • Move to Packages: 将 Assets 下的包移动到 Packages
  • Move to Assets: 将 Packages 下的包移动到 Assets
  • Create Package Here: 在当前目录创建新包

命名规范

包名和程序集名的转换规则:

  • com.company.name1.name2Company.Name1.Name2
  • com.company.name1-name2Company.Name1Name2

License

MIT