Exodus Framework

raw JSON →
2.2.10921 verified Sat Apr 25 auth: no javascript

Exodus Framework is a JavaScript/TypeScript framework designed for building scalable applications. The current stable version is 2.2.10921. Release cadence is unknown but frequent updates suggest active development. Provides TypeScript types. Key differentiators include a modular architecture and built-in utilities, though documentation is lacking.

error Error: Cannot find module 'exodus-framework'
cause Package not installed or import path misspelled.
fix
Run npm install exodus-framework and check import: import { Exodus } from 'exodus-framework'.
error TypeError: (0 , _exodus_framework.createApp) is not a function
cause Default import instead of named import for createApp.
fix
Change import createApp from 'exodus-framework' to import { createApp } from 'exodus-framework'.
breaking Exodus v2.x dropped support for Node.js 10 and below. Use v2 with Node 12+.
fix Upgrade Node.js to version 12 or later.
deprecated The legacy module system (exodus-legacy) is deprecated in v2.x. Use the new import system.
fix Replace `import { legacy } from 'exodus-framework'` with the new APIs.
gotcha TypeScript types are exported but may not cover all APIs for v2.2.x. Check type definitions for completeness.
fix If encountering type errors, use `@ts-ignore` or contribute to type definitions.
npm install exodus-framework
yarn add exodus-framework
pnpm add exodus-framework

Demonstrates creating an app with a component and starting the server.

import { Exodus, createApp } from 'exodus-framework';

const app = createApp();
app.use(Exodus.component('HelloWorld', { message: 'Hello' }));
app.start({ port: 3000 }).then(() => console.log('Server running on port 3000'));