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

@fusion-module/create-fusion

v0.1.0

Published

Scaffold fusion-module modules quickly. Run via `pnpm create @fusion-module/fusion module`.

Downloads

94

Readme

@fusion-module/create-fusion

fusion-module 模块脚手架,快速在宿主仓库中生成一个远程模块。

使用

宿主仓库根目录执行(模块会生成到 当前目录/modules/<code>):

# 通过 pnpm create 约定(推荐)
pnpm create @fusion-module/fusion module

# 或使用 npx
npx @fusion-module/create-fusion module

按提示输入模块 code、名称,并勾选所需的第三方库(Vue、Vue Query 必选)。

生成产物

modules/<code>/
├── package.json          # @modules/<code>,vite lib 构建
├── vite.config.ts        # 使用 @fusion-module/vite-plugin-module-manifest 产出 manifest.json
├── tsconfig*.json
├── env.d.ts
└── src/
    ├── index.ts          # 导出 RemoteModule { mount, unmount }
    ├── manifest.ts       # ModuleManifestMeta
    ├── mount.ts          # createApp + AppProviders + 按需挂载所选库
    ├── index.vue
    ├── axios.ts
    ├── style.css
    └── constant.ts

宿主仓库要求

生成的模块假定落地在一个标准宿主 monorepo 中,需要提供:

  • @packages/ui(导出 AppProviders)、@packages/types
  • 根级 tsconfig.app.json / tsconfig.node.json
  • 扩展过的运行时上下文(context.axios / context.license / context.queryClient)
  • 共享依赖:vue@tanstack/vue-query@vueuse/core,以及所选的 element-plus / ele-admin-plus / vxe-table

开发(本仓库内)

# 在 packages/create-fusion 下直接用源码跑
pnpm --filter @fusion-module/create-fusion dev module