fyr.jsPreparing the runtime

Documentation

API reference

The Fyr public surface includes application creation, configuration, HTTP, actions, events, notifications, registration, and optional bundles.

Core API

Use Fyr.createApp, Fyr.start, Fyr.destroyApp, Fyr.configure, Fyr.http, Fyr.action, Fyr.notify, Fyr.nextTick, Fyr.emit, and Fyr.on from the core bundle.

Fyr.configure({ debug: true });
Fyr.notify.success("Ready");
Fyr.on("project:created", project => console.log(project));

Optional bundles

Router, Python, WASM, socket, and UI helpers are separate ES module files so a core-only application stays small.

fyr-router.esm.js
fyr-python.esm.js
fyr-wasm.esm.js
fyr-socket.esm.js
fyr-ui.esm.js
Keep exploringSee framework examples