Ecosystem Packages
The Ecopages ecosystem is composed of several modular packages. You only install what you need.
Core Packages
| Package | Purpose |
|---|---|
@ecopages/core | The heart of Ecopages. Contains the application adapter, router, and base plugin classes. |
@ecopages/logger | Unified logging utility used across the entire ecosystem. |
Routers
Specialized routers for different application needs.
| Package | Purpose |
|---|---|
@ecopages/browser-router | Standard browser-based router with View Transitions support. |
@ecopages/react-router | React-specific router enabling SPA navigation for React apps. |
Integrations
These packages add support for different rendering engines.
| Package | Purpose |
|---|---|
@ecopages/kitajs | Fast JSX rendering using KitaJS. |
@ecopages/react | React 19 support with SSR and hydration. |
@ecopages/lit | Lit Web Components integration with SSR support. |
@ecopages/mdx | Markdown with JSX (React-powered by default). |
Processors & Loaders
Tools for processing assets and extending Bun's loading capabilities.
| Package | Purpose |
|---|---|
@ecopages/image-processor | Build-time image optimization and responsive image generation. |
@ecopages/postcss-processor | Processes CSS through PostCSS and Tailwind. |
@ecopages/bun-inline-css-plugin | Inlines CSS directly into the JS bundle for components. |
Utilities
| Package | Purpose |
|---|---|
@ecopages/file-system | Utilities for file system operations and route discovery. |
@ecopages/radiant | A minimalist web component library for reactive UI. |
@ecopages/scripts-injector | Helper for lazy-loading scripts in the browser. |
Installation Tip
You can install multiple packages at once using Bun:
bunx jsr add @ecopages/core @ecopages/kitajs @ecopages/image-processor