๐ Getting Started
Elfa provides a powerful framework for building modern applications. This guide walks you through the setup process.
npm install elfa@latest
Verify installation:
npx elfa --help
.
โโโ elfa.config.js
โโโ src/
โ โโโ index.js
โโโ package.json
๐ API Reference
Core Module Exports
elva()
Main export that creates an app instance.
import { elfa } from "elfa"
const app = elfa({
name: "MyApp",
plugins: []
})
elvaPlugin()
Function to create custom plugins.
const myPlugin = elfaPlugin({
name: "myPlugin",
hooks: {
start() {
console.log("Plugin started")
}
}
})
Need more details?
Check out our Tutorials section for practical examples.
๐ฌ Tutorials
Getting Started
First Steps with Elfa
Learn to configure and run your first Elfa application in five minutes.
API Guides
Core API Explained
In-depth explanations of all core API functions and hooks.