{"_id":"@atheory-ai/kitsune-modules-storage","name":"@atheory-ai/kitsune-modules-storage","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@atheory-ai/kitsune-modules-storage","version":"0.1.0","description":"Storage capability module for Kitsune.","type":"module","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dependencies":{"@atheory-ai/kitsune-core":"0.1.0"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/atheory-ai/kitsune.git","directory":"packages/modules-storage"},"homepage":"https://kitsune.atheory.ai","bugs":{"url":"https://github.com/atheory-ai/kitsune/issues"},"keywords":["kitsune","web-components","web-native","frontend","runtime","kitsune-module"],"publishConfig":{"access":"public"},"scripts":{"build":"tsc -p tsconfig.build.json","test":"vitest run"},"_id":"@atheory-ai/kitsune-modules-storage@0.1.0","_integrity":"sha512-d8HwATRbRbR+WnW++N8DaYePfGLFRIjmHPQhDnQf/ggBedmYW+Bz5ky0iGRPAHhcYMIN3EC9ozY7sMmdZGqhnQ==","_resolved":"/private/var/folders/vy/lptmwxhn1fv5rwgf0dnmy2b80000gn/T/824f91ec9ec03843639024fafd1b7dc7/atheory-ai-kitsune-modules-storage-0.1.0.tgz","_from":"file:atheory-ai-kitsune-modules-storage-0.1.0.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-d8HwATRbRbR+WnW++N8DaYePfGLFRIjmHPQhDnQf/ggBedmYW+Bz5ky0iGRPAHhcYMIN3EC9ozY7sMmdZGqhnQ==","shasum":"8a8e3163f9151f03d0bf0f4964672676d534cfc2","tarball":"https://registry.npmjs.org/@atheory-ai/kitsune-modules-storage/-/kitsune-modules-storage-0.1.0.tgz","fileCount":7,"unpackedSize":42817,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF2bB1EKZlsMYqUzZuxh90DfpOC02t2lsH4S0tMPi+icAiAT9Tgf5MuhtPZKhM2r0IDn1PLbPB6znwq3pjEWTLUgHA=="}]},"_npmUser":{"name":"ladyhunterbear","email":"jeremy@atheory.ai"},"directories":{},"maintainers":[{"name":"ladyhunterbear","email":"jeremy@atheory.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/kitsune-modules-storage_0.1.0_1781409263806_0.5578491818997644"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-14T03:54:23.624Z","0.1.0":"2026-06-14T03:54:23.931Z","modified":"2026-06-14T03:54:24.264Z"},"maintainers":[{"name":"ladyhunterbear","email":"jeremy@atheory.ai"}],"description":"Storage capability module for Kitsune.","homepage":"https://kitsune.atheory.ai","keywords":["kitsune","web-components","web-native","frontend","runtime","kitsune-module"],"repository":{"type":"git","url":"git+https://github.com/atheory-ai/kitsune.git","directory":"packages/modules-storage"},"bugs":{"url":"https://github.com/atheory-ai/kitsune/issues"},"license":"Apache-2.0","readme":"# @atheory-ai/kitsune-modules-storage\n\nStorage capability module for Kitsune.\n\n`@atheory-ai/kitsune-modules-storage` adds runtime commands for reading, writing, listing, deleting, clearing, and autosaving browser-backed or adapter-backed state.\n\n## Install\n\n```sh\npnpm add @atheory-ai/kitsune-modules-storage\n```\n\n## Use\n\n```ts\nimport { createKitRuntime } from '@atheory-ai/kitsune-core'\nimport { storageModule } from '@atheory-ai/kitsune-modules-storage'\n\nconst runtime = createKitRuntime()\nawait runtime.install(storageModule({ namespace: 'app' }))\nawait runtime.start()\n\nawait runtime.command({\n  type: 'storage.write',\n  payload: { key: 'draft', value: { title: 'Hello' } },\n})\n```\n\n## Commands\n\n- `storage.write`\n- `storage.read`\n- `storage.delete`\n- `storage.list`\n- `storage.clear`\n\n## Exports\n\n- `storageModule`\n- `StorageToken`\n- `memoryStorageAdapter`\n- `StorageQuotaError`\n- Storage module, adapter, service, command, and autosave types\n\n## Documentation\n\nSee the Kitsune docs at https://kitsune.atheory.ai.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md","_rev":"1-e85dc2fb13adc6dea038a066928f1927"}