@cntm-labs/nucleus-node
v0.3.0
Published
Nucleus authentication SDK for Node.js.
Maintainers
Readme
@cntm-labs/nucleus-node
Nucleus authentication SDK for Node.js backends.
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.
Verify sessions, manage users, and protect API routes.
Part of Nucleus — high-performance, self-hosted auth platform.
Installation
npm i @cntm-labs/nucleus-nodeQuick Start
import { createNucleus } from '@cntm-labs/nucleus-node';
const nucleus = createNucleus({ secretKey: 'sk_...' });
const { userId } = await nucleus.verifySession(token);