Framework-neutral JavaScript APIs for connecting a decoupled frontend to
WordPress. Framework packages such as @cloakwp/react and @cloakwp/nextjs
build on these primitives.
npm install cloakwpcloakwp/auth: session cookie names, Application Password vs legacy JWT machine auth, and Web Crypto signing primitivescloakwp/preview: preview data and signed preview-token verificationcloakwp/revalidation: signed revalidation request verification and handlingcloakwp/rest: the nativeRequest/ResponseCloakWP API handler (preview,exit-preview,revalidate,auth/*)
These modules use web-platform APIs and do not depend on React or Next.js.