comark-kv
Search…
k
Search…
k
Live
KV
from frontmatter
A
Comark
plugin that declares a
kv:
block in frontmatter, backed by
unstorage
, and exposes a live writable
kv.*
namespace for two-way
::prop
model binding.
Get started
Open the playground
Two forms, one model
Single-driver
One storage backend. Model paths are `kv.key`.
Multi-driver
Each namespace has its own driver. Model paths are `kv.ns.key`.
Runtime model
Framework-agnostic `createKvModel` with get/set on `kv.*` paths.
Vue composable
`useKvModel` bridges the runtime model into Vue templates.
Inject drivers
Pass custom unstorage drivers for testing and SSR.
Conflict handling
Last-write-wins at the whole-value level per namespace.