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