Skip to content

xNet Documentation

xNet is a local-first React framework. Your data lives on the device, syncs peer-to-peer, and works offline. Three hooks replace your entire backend.

PackageDescription
@xnetjs/reactReact hooks: useQuery, useMutate, useNode, useIdentity
@xnetjs/dataSchema system, NodeStore, 15 property types
@xnetjs/syncLamport clocks, Change<T>, Yjs security
@xnetjs/cryptoBLAKE3, Ed25519, XChaCha20-Poly1305
@xnetjs/identityDID:key, UCAN tokens, key management
@xnetjs/plugins4-layer plugin system (scripts, extensions, services, integrations)
@xnetjs/storageSQLite adapter
@xnetjs/editorTipTap rich text editor with Yjs collaboration
@xnetjs/canvasInfinite canvas with spatial indexing
@xnetjs/networklibp2p, WebRTC/WebSocket transport