The server-side companion to @lacspace/react: an authenticated SDK client from cookies, Route Handler & Server Action wrappers, cookie helpers, a one-line middleware auth guard and double-submit CSRF protection. Next.js 14 & 15.
Install
$ npm install @lacspace/next
Quick example
@lacspace/nextts
const lac = await createServerClient()
Returns authed SDK
Looking for the complete API and more examples? The npm page and GitHub README carry the full reference — or grab the PDF.