{"_id":"@authai-io/relay-store-sqlite","name":"@authai-io/relay-store-sqlite","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@authai-io/relay-store-sqlite","version":"0.1.0","description":"SQLite storage driver for the AuthAI relay. Single-file persistence for self-hosted single-instance deploys.","homepage":"https://authai.io","repository":{"type":"git","url":"git+https://github.com/authai-io/authai.git","directory":"packages/relay-store-sqlite"},"license":"MIT","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"dependencies":{"better-sqlite3":"^11.6.0","@authai-io/relay":"0.1.0"},"devDependencies":{"@types/better-sqlite3":"^7.6.12","@types/node":"^22.10.1","typescript":"^5.6.3","vitest":"^2.1.8"},"scripts":{"build":"tsc -p tsconfig.json","test":"vitest run"},"_id":"@authai-io/relay-store-sqlite@0.1.0","bugs":{"url":"https://github.com/authai-io/authai/issues"},"_integrity":"sha512-khDIecI9hWwAFQ7KLYuowYnon/h7X0XEBMDQswfYdKXjvNSUgzskrYPJxt2RBqtxdzP1Vs57H6FlJsBuWmE+UA==","_resolved":"/private/var/folders/y0/__p4774x4kz6qyzbll13zqwc0000gn/T/80ebf21f4f8c9dee359e1f3e8a0de923/authai-io-relay-store-sqlite-0.1.0.tgz","_from":"file:authai-io-relay-store-sqlite-0.1.0.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-khDIecI9hWwAFQ7KLYuowYnon/h7X0XEBMDQswfYdKXjvNSUgzskrYPJxt2RBqtxdzP1Vs57H6FlJsBuWmE+UA==","shasum":"2658d7099d4401371666603543b6f9b43172d58d","tarball":"https://registry.npmjs.org/@authai-io/relay-store-sqlite/-/relay-store-sqlite-0.1.0.tgz","fileCount":6,"unpackedSize":36584,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDoOt4iMzLhhV6MEVv0yqRUxMcfbsSU84Cxg/pwLm+y0AIgFATomEKWOaUB2HhkWchZq64AS/HZIjNkS1aeKqUQ7yw="}]},"_npmUser":{"name":"riccardoio","email":"me@riccardo.io"},"directories":{},"maintainers":[{"name":"riccardoio","email":"me@riccardo.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/relay-store-sqlite_0.1.0_1781035768281_0.7356742722224197"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-09T20:09:28.165Z","0.1.0":"2026-06-09T20:09:28.438Z","modified":"2026-06-09T20:09:28.660Z"},"maintainers":[{"name":"riccardoio","email":"me@riccardo.io"}],"description":"SQLite storage driver for the AuthAI relay. Single-file persistence for self-hosted single-instance deploys.","homepage":"https://authai.io","repository":{"type":"git","url":"git+https://github.com/authai-io/authai.git","directory":"packages/relay-store-sqlite"},"bugs":{"url":"https://github.com/authai-io/authai/issues"},"license":"MIT","readme":"# @authai-io/relay-store-sqlite\n\nSQLite storage driver for the [AuthAI](https://authai.io) relay. Single-file persistence — good for self-hosted single-instance deploys.\n\n## Use\n\n```ts\nimport { createRelayApp } from \"@authai-io/relay\";\nimport { createSqliteStore } from \"@authai-io/relay-store-sqlite\";\n\nconst store = createSqliteStore(\"./relay.db\");\nconst app = createRelayApp({ store, /* ... */ });\n```\n\nFor multi-instance / cloud deploys, use [`@authai-io/relay-store-postgres`](https://www.npmjs.com/package/@authai-io/relay-store-postgres).\n\nSee [docs/installation.md](https://github.com/authai-io/authai/blob/main/docs/installation.md) for the full self-hosting walk-through.\n","readmeFilename":"README.md","_rev":"1-9fafab29949014fdd0a5b8ab12092d1f"}