@edgeflowjs/core
v0.2.2
Published
Composition root: bootstrap, config, and runnable server. Composes bridge, flow, device, sync, maintenance, OTA.
Readme
@edgeflowjs/core
Composition root: bootstrap, config, and runnable server. Composes bridge, flow, device, sync, maintenance, OTA.
Install
pnpm add @edgeflowjs/coreExports
createEdgeflowApp— Programmatic app bootstrap (plugins, adapters)loadConfig— Load config from env/file- Types:
EdgeflowPlugin,EdgeflowContext,EdgeflowApp,EdgeflowConfig
Standalone Entry Point
Run the pre-composed server:
node packages/core/dist/run.jsOr via root scripts: pnpm dev:core or pnpm dev.
The run script starts: logger, device-sim, sync, flow, maintenance, OTA, bridge. It registers the "purchase" flow and listens for WebSocket connections.
