Packages
Tuvix.js ships as 14 focused, independently versioned packages. Install only what you need.
Core Packages
@tuvix.js/core
Core
The orchestrator — registers, mounts, and manages all micro app lifecycles.
@tuvix.js/router
Router
URL-based micro app routing with history and hash mode support.
@tuvix.js/event-bus
Event Bus
Typed inter-app communication. Publish and subscribe across micro apps.
@tuvix.js/loader
Loader
Dynamic module loading with caching, retry and error boundary support.
@tuvix.js/sandbox
Sandbox
CSS and JS isolation using Shadow DOM and JS Proxy. Prevent style leakage.
Framework Bindings
@tuvix.js/react
React
React 18+ bindings with hooks — useMicroApp, useTuvixEvent.
@tuvix.js/vue
Vue
Vue 3 bindings with composables — useMicroApp, useTuvixEvent.
@tuvix.js/svelte
Svelte
Svelte 3/4/5 bindings with reactive stores and lifecycle integration.
@tuvix.js/angular
Angular
Angular 15+ module, service and directive bindings for micro apps.
Tooling
@tuvix.js/devtools
DevTools
In-browser debug panel. Inspect registered apps, events and loader state.
@tuvix.js/server
Server
Server-side composition — pre-render and stitch micro app HTML on the server.
@tuvix.js/module-federation
Module Federation
Webpack 5 Module Federation integration for sharing remote micro apps.
create-tuvix-app
create-tuvix-app
CLI scaffolding tool. Instantly bootstrap a Tuvix.js micro app project.
Install Everything
bash
npm install tuvix.jsThe tuvix.js umbrella package re-exports all core packages for convenience.
Individual Packages
bash
# Core
npm install @tuvix.js/core
npm install @tuvix.js/router
npm install @tuvix.js/event-bus
npm install @tuvix.js/loader
npm install @tuvix.js/sandbox
# Framework bindings (install the one you need)
npm install @tuvix.js/react
npm install @tuvix.js/vue
npm install @tuvix.js/svelte
npm install @tuvix.js/angular
# Tooling
npm install @tuvix.js/devtools
npm install @tuvix.js/server
npm install @tuvix.js/module-federation
# CLI
npx create-tuvix-app my-app