{"_id":"@cntm-labs/nucleus-nextjs","_rev":"2-c22cd697a2aa8496e3c9a6f423325f47","name":"@cntm-labs/nucleus-nextjs","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.0":{"name":"@cntm-labs/nucleus-nextjs","version":"0.2.0","keywords":["authentication","auth","nucleus","sdk","nextjs","server-components"],"author":{"name":"cntm-labs"},"license":"MIT","_id":"@cntm-labs/nucleus-nextjs@0.2.0","maintainers":[{"name":"mrxbt","email":"mr.bt1590@hotmail.com"}],"homepage":"https://github.com/cntm-labs/nucleus","bugs":{"url":"https://github.com/cntm-labs/nucleus/issues"},"dist":{"shasum":"d9f8e57b702faed67cc80dee51321cd87e206059","tarball":"https://registry.npmjs.org/@cntm-labs/nucleus-nextjs/-/nucleus-nextjs-0.2.0.tgz","fileCount":17,"integrity":"sha512-RmnIomLZnwdR2yweDwXnifb5Pvdp050P4lu3kyz9iRfq1li0VjCtt+XlgNJemywz+wp3uaxbf8PAl1dJGueyjA==","signatures":[{"sig":"MEQCIGztKphCz7GWmZsQtKN7bXFONjnJPSlCU2Ey7EapqZI1AiBRFiKjOmMer3eS6HTstZCqDPj+Uk+bT+7vRdc6IwhMKg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385155},"main":"./dist/cjs/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/esm/server/index.js","require":"./dist/cjs/server/index.js"}},"gitHead":"142973cf984519b91a7d421c76adc95c9014f88f","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"mrxbt","email":"mr.bt1590@hotmail.com"},"repository":{"url":"git+https://github.com/cntm-labs/nucleus.git","type":"git","directory":"sdks/nextjs"},"_npmVersion":"10.9.7","description":"Nucleus authentication SDK for Next.js.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"zod":"^4.3.6","jose":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"next":"^15.0.0","tsup":"^8.0.0","jsdom":"^24.0.0","react":"^19.0.0","vitest":"^3.0.0","react-dom":"^19.0.0","typescript":"~5.7.0","@types/node":"^25.5.0","@types/react":"^19.0.0","@testing-library/react":"^16.3.2","@testing-library/jest-dom":"^6.9.1"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/nucleus-nextjs_0.2.0_1775746019371_0.822627584384255","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@cntm-labs/nucleus-nextjs","version":"0.3.0","description":"Nucleus authentication SDK for Next.js.","keywords":["authentication","auth","nucleus","sdk","nextjs","server-components"],"license":"MIT","author":{"name":"cntm-labs"},"repository":{"type":"git","url":"git+https://github.com/cntm-labs/nucleus.git","directory":"sdks/nextjs"},"homepage":"https://github.com/cntm-labs/nucleus","publishConfig":{"access":"public"},"sideEffects":false,"type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js","types":"./dist/index.d.ts"},"./server":{"import":"./dist/esm/server/index.js","require":"./dist/cjs/server/index.js","types":"./dist/server/index.d.ts"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","test":"vitest run","prepublishOnly":"npm run build"},"dependencies":{"jose":"^5.0.0","zod":"^4.3.6"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"devDependencies":{"@testing-library/jest-dom":"^6.9.1","@testing-library/react":"^16.3.2","@types/node":"^25.5.0","@types/react":"^19.0.0","jsdom":"^24.0.0","next":"^15.0.0","react":"^19.0.0","react-dom":"^19.0.0","tsup":"^8.0.0","typescript":"~5.7.0","vitest":"^3.0.0"},"_id":"@cntm-labs/nucleus-nextjs@0.3.0","gitHead":"8182644f442a2c3d496ea326f8da91eda6b83590","bugs":{"url":"https://github.com/cntm-labs/nucleus/issues"},"_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-+1Yzya08Jj+C3jUtO7wsNUuHkBt0VY8oN4wTrTlH/WLzlw+kZX9C3xt1wCzij+ycyu/BlmuySJQub3Z29r/pKg==","shasum":"9066c9ce7387861fd17fc2cbb34993d8e2813b02","tarball":"https://registry.npmjs.org/@cntm-labs/nucleus-nextjs/-/nucleus-nextjs-0.3.0.tgz","fileCount":17,"unpackedSize":386451,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICARqh4951232ayVulJts8MxwudzwRb1WXtbXjDnMf24AiAcIi0UOFM4fMOw9ygOs1MJmCKj6S4RLaO5O0zZhoFVnQ=="}]},"_npmUser":{"name":"mrxbt","email":"mr.bt1590@hotmail.com"},"directories":{},"maintainers":[{"name":"mrxbt","email":"mr.bt1590@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nucleus-nextjs_0.3.0_1776072525984_0.844039887157888"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-09T14:46:59.267Z","modified":"2026-04-13T09:28:46.265Z","0.2.0":"2026-04-09T14:46:59.638Z","0.3.0":"2026-04-13T09:28:46.155Z"},"bugs":{"url":"https://github.com/cntm-labs/nucleus/issues"},"author":{"name":"cntm-labs"},"license":"MIT","homepage":"https://github.com/cntm-labs/nucleus","keywords":["authentication","auth","nucleus","sdk","nextjs","server-components"],"repository":{"type":"git","url":"git+https://github.com/cntm-labs/nucleus.git","directory":"sdks/nextjs"},"description":"Nucleus authentication SDK for Next.js.","maintainers":[{"name":"mrxbt","email":"mr.bt1590@hotmail.com"}],"readme":"<div align=\"center\">\n\n# @cntm-labs/nucleus-nextjs\n\n**Nucleus authentication SDK for Next.js.**\n\n> **Warning: DEV PREVIEW** — This package is under active development\n> and is NOT ready for production use. APIs may change without notice.\n> For updates, watch the [Nucleus repo](https://github.com/cntm-labs/nucleus).\n\n[![CI](https://github.com/cntm-labs/nucleus/actions/workflows/ci.yml/badge.svg)](https://github.com/cntm-labs/nucleus/actions/workflows/ci.yml)\n[![Security](https://github.com/cntm-labs/nucleus/actions/workflows/security.yml/badge.svg)](https://github.com/cntm-labs/nucleus/actions/workflows/security.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/cntm-labs/nucleus/blob/main/LICENSE)\n\n[![npm](https://img.shields.io/npm/v/@cntm-labs/nucleus-nextjs?label=@cntm-labs/nucleus-nextjs&color=cb3837)](https://www.npmjs.com/package/@cntm-labs/nucleus-nextjs)\n\n[![TypeScript](https://img.shields.io/badge/TypeScript-2.3k_LOC-3178C6?logo=typescript&logoColor=white)](src/)\n\n[![Next.js](https://img.shields.io/badge/Next.js-000000?logo=nextdotjs&logoColor=white)](https://nextjs.org/)\n[![React](https://img.shields.io/badge/React-61DAFB?logo=react&logoColor=black)](https://react.dev/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)\n\n</div>\n\n---\n\nWorks with App Router and Server Components.\n\nPart of [Nucleus](https://github.com/cntm-labs/nucleus) — high-performance, self-hosted auth platform.\n\n## Installation\n\n```bash\nnpm i @cntm-labs/nucleus-nextjs\n```\n\n## Quick Start\n\n```tsx\n// app/layout.tsx\nimport { NucleusProvider } from '@cntm-labs/nucleus-nextjs';\n\nexport default function RootLayout({ children }) {\n  return (\n    <NucleusProvider publishableKey=\"pk_...\">\n      {children}\n    </NucleusProvider>\n  );\n}\n```\n\n## License\n\n[MIT](https://github.com/cntm-labs/nucleus/blob/main/LICENSE)\n","readmeFilename":"README.md"}