@layeron/modules
v0.1.0
Published
First-party backend capability modules for Layeron.
Downloads
39
Maintainers
Readme
@layeron/modules
@layeron/modules contains first-party Layeron capability modules.
Modules expose product-level backend capabilities to users and emit compiler
readable declarations through app.use(...). Provider resources, bindings,
migrations, and runtime dependencies are inferred by the compiler and planner.
db(...) declares application data through name, optional namespace, and
sql without asking users to manually wire provider resources or Worker
bindings.
log(...) declares named application log streams through name and
namespace. Runtime calls such as appLog.info(...) emit structured records to
the Layeron observability sink, which maps to Cloudflare Worker Logs in the
current Worker target.
observability(...) declares named observability streams through name and
namespace. Runtime calls such as appObservability.gauge(...),
appObservability.timing(...), and appObservability.signal(...) emit
structured metric, event, signal, trace, and error records through the same
Worker Logs backed sink.
