{"_id":"@cntm-labs/nucleus-js","_rev":"2-26622ef9c6d7b123d40a53b4f374e4be","name":"@cntm-labs/nucleus-js","dist-tags":{"latest":"0.3.0"},"versions":{"0.2.0":{"name":"@cntm-labs/nucleus-js","version":"0.2.0","keywords":["authentication","auth","nucleus","sdk","jwt","oauth"],"author":{"name":"cntm-labs"},"license":"MIT","_id":"@cntm-labs/nucleus-js@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":"18bc419a54f6e49dceddf6f14c1924579ad50e46","tarball":"https://registry.npmjs.org/@cntm-labs/nucleus-js/-/nucleus-js-0.2.0.tgz","fileCount":7,"integrity":"sha512-Nbxd1vstlsgG0SuShQGs2K+/r2Zhk/VtjFHP+N+h5HY1OJs9GVLbQjI8AdErH+/Zm5Eqit0VFDMEK+uQzlRDqw==","signatures":[{"sig":"MEUCIEwY9kN6lG1EpDG1stlzAqt4VpPOWzWa5DNg00ONvtyiAiEA8Kwdra8U5zldOsgpZCkNbU7/iqW8iGz2ez39/WARpGs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":64635},"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"}},"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/js"},"_npmVersion":"10.9.7","description":"Nucleus authentication SDK for JavaScript.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"zod":"^4.3.6","jose":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^3.0.0","typescript":"~5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/nucleus-js_0.2.0_1775746007447_0.07760073359102093","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@cntm-labs/nucleus-js","version":"0.3.0","description":"Nucleus authentication SDK for JavaScript.","keywords":["authentication","auth","nucleus","sdk","jwt","oauth"],"license":"MIT","author":{"name":"cntm-labs"},"repository":{"type":"git","url":"git+https://github.com/cntm-labs/nucleus.git","directory":"sdks/js"},"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"}},"scripts":{"build":"tsup","typecheck":"tsc --noEmit","test":"vitest run","prepublishOnly":"npm run build"},"dependencies":{"jose":"^5.0.0","zod":"^4.3.6"},"devDependencies":{"tsup":"^8.0.0","typescript":"~5.7.0","vitest":"^3.0.0"},"_id":"@cntm-labs/nucleus-js@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-PxpYquNwzTT7s4GPPn8UPxYR7z8j5mLmjWp7gEhpW8OrfDsseKyoaubedYQrvbf0oFnhgnUrnjF0A1FbJDFBbg==","shasum":"84950b92488e65256ba6adcfc618698288aecc63","tarball":"https://registry.npmjs.org/@cntm-labs/nucleus-js/-/nucleus-js-0.3.0.tgz","fileCount":7,"unpackedSize":65760,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCA/NgL442WjlRGMHQa7mv51650i+vV4rFRW8YGW5FBagIgXvWtieuF+G7RX+x3czfpnv5rfsOt2gd7SDM4WfDKIAU="}]},"_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-js_0.3.0_1776072511003_0.5561891792152007"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-09T14:46:47.341Z","modified":"2026-04-13T09:28:31.235Z","0.2.0":"2026-04-09T14:46:47.612Z","0.3.0":"2026-04-13T09:28:31.126Z"},"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","jwt","oauth"],"repository":{"type":"git","url":"git+https://github.com/cntm-labs/nucleus.git","directory":"sdks/js"},"description":"Nucleus authentication SDK for JavaScript.","maintainers":[{"name":"mrxbt","email":"mr.bt1590@hotmail.com"}],"readme":"<div align=\"center\">\n\n# @cntm-labs/nucleus-js\n\n**Nucleus authentication SDK for vanilla JavaScript.**\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-js?label=@cntm-labs/nucleus-js&color=cb3837)](https://www.npmjs.com/package/@cntm-labs/nucleus-js)\n\n[![TypeScript](https://img.shields.io/badge/TypeScript-1.4k_LOC-3178C6?logo=typescript&logoColor=white)](src/)\n\n[![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)\n\n</div>\n\n---\n\nManage sessions and user state in any browser environment.\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-js\n```\n\n## Quick Start\n\n```javascript\nimport { Nucleus } from '@cntm-labs/nucleus-js';\n\nconst nucleus = new Nucleus({ publishableKey: 'pk_...' });\nconst session = await nucleus.getSession();\nconsole.log('User:', session.userId);\n```\n\n## License\n\n[MIT](https://github.com/cntm-labs/nucleus/blob/main/LICENSE)\n","readmeFilename":"README.md"}