Skip to content

Latest commit

 

History

94 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloakWP

Framework-neutral JavaScript APIs for connecting a decoupled frontend to WordPress. Framework packages such as @cloakwp/react and @cloakwp/nextjs build on these primitives.

Install

npm install cloakwp

Protocol modules

  • cloakwp/auth: session cookie names, Application Password vs legacy JWT machine auth, and Web Crypto signing primitives
  • cloakwp/preview: preview data and signed preview-token verification
  • cloakwp/revalidation: signed revalidation request verification and handling
  • cloakwp/rest: the native Request/Response CloakWP API handler (preview, exit-preview, revalidate, auth/*)

These modules use web-platform APIs and do not depend on React or Next.js.

About

CloakWP's vanilla core. Integrate WordPress with any JS framework.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages