@cntm-labs/nucleus-nextjs
v0.3.0
Published
Nucleus authentication SDK for Next.js.
Maintainers
Readme
@cntm-labs/nucleus-nextjs
Nucleus authentication SDK for Next.js.
Warning: DEV PREVIEW — This package is under active development and is NOT ready for production use. APIs may change without notice. For updates, watch the Nucleus repo.
Works with App Router and Server Components.
Part of Nucleus — high-performance, self-hosted auth platform.
Installation
npm i @cntm-labs/nucleus-nextjsQuick Start
// app/layout.tsx
import { NucleusProvider } from '@cntm-labs/nucleus-nextjs';
export default function RootLayout({ children }) {
return (
<NucleusProvider publishableKey="pk_...">
{children}
</NucleusProvider>
);
}