UNPKG

@esmx/core

Version:

A high-performance microfrontend framework supporting Vue, React, Preact, Solid, and Svelte with SSR and Module Federation capabilities.

58 lines (44 loc) 1.98 kB
<div align="center"> <img src="https://www.esmnext.com/logo.svg?t=2025" width="120" alt="Esmx Logo" /> <h1>@esmx/core</h1> <div> <a href="https://www.npmjs.com/package/@esmx/core"> <img src="https://img.shields.io/npm/v/@esmx/core.svg" alt="npm version" /> </a> <a href="https://github.com/esmnext/esmx/actions/workflows/build.yml"> <img src="https://github.com/esmnext/esmx/actions/workflows/build.yml/badge.svg" alt="Build" /> </a> <a href="https://www.esmnext.com/coverage/"> <img src="https://img.shields.io/badge/coverage-live%20report-brightgreen" alt="Coverage Report" /> </a> <a href="https://nodejs.org/"> <img src="https://img.shields.io/node/v/@esmx/core.svg" alt="node version" /> </a> <a href="https://bundlephobia.com/package/@esmx/core"> <img src="https://img.shields.io/bundlephobia/minzip/@esmx/core" alt="size" /> </a> </div> <p>支持 Vue、React、Preact、Solid、Svelte 的高性能微前端框架,具备 SSR 和模块联邦能力</p> <p> <a href="https://github.com/esmnext/esmx/blob/master/packages/core/README.md">English</a> | 中文 </p> </div> ## 🚀 特性 - **原生微前端** - 基于 ESM + ImportMap 的原生模块加载,零运行时开销 - **依赖管理** - 中心化的依赖管理,基于内容哈希的强缓存策略 - **应用隔离** - ESM 原生模块隔离,保障应用运行时的稳定性 - **SSR 支持** - 灵活的服务端渲染策略,支持任意前端框架 - **开发体验** - 完整的 TypeScript 支持,原生模块链接能力 ## 📦 安装 ```bash npm install @esmx/core ``` ## 🚀 快速开始 ```bash npm install @esmx/core ``` 详细的使用示例和配置选项,请访问[官方文档](https://www.esmnext.com)。 ## 📚 文档 访问[官方文档](https://www.esmnext.com)获取详细的使用指南和 API 参考。 ## 📄 许可证 MIT © [Esmx Team](https://github.com/esmnext/esmx)