{"_id":"@airnauts/comments-adapter-memory","_rev":"8-e7434a1996b1c39d02c41b2127ce8f33","name":"@airnauts/comments-adapter-memory","dist-tags":{"latest":"0.7.0"},"versions":{"0.1.0":{"name":"@airnauts/comments-adapter-memory","version":"0.1.0","keywords":["comments","commenting","annotations","feedback","airnauts","in-memory","adapter"],"author":{"name":"Airnauts"},"license":"MIT","_id":"@airnauts/comments-adapter-memory@0.1.0","maintainers":[{"name":"jkrzemie","email":"hello@airnauts.com"},{"name":"mateuszpaulski","email":"mateusz@airnauts.com"}],"homepage":"https://github.com/Airnauts/commenting-tool#readme","bugs":{"url":"https://github.com/Airnauts/commenting-tool/issues"},"dist":{"shasum":"416909af7d7d1d629f3ec20fa52c43783620735c","tarball":"https://registry.npmjs.org/@airnauts/comments-adapter-memory/-/comments-adapter-memory-0.1.0.tgz","fileCount":9,"integrity":"sha512-8c0NKw8Me+uPMK7pcFsucUg6ny4NImaYKuW7qJwmzG8syFCeY0Qp6KdRR3Bk2zo8rdO8JObj/6lmxn9/6bMVwA==","signatures":[{"sig":"MEYCIQD0aa1fqtlyq3AqBgttPB7F9MVtaF58MKenagN3cRgm+wIhAMHErcRoXW/6LgfAxYY1DYJOMUhThcCLXzgBChiuX9kB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22156},"type":"module","_from":"file:airnauts-comments-adapter-memory-0.1.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsup && tsc --build --force","typecheck":"tsc --build"},"_npmUser":{"name":"mateuszpaulski","email":"mateusz@airnauts.com"},"_resolved":"/private/var/folders/2n/cymmpn8j3p962bjb2kqxq7n80000gn/T/cac1e13980230c7db486a38935bb0b81/airnauts-comments-adapter-memory-0.1.0.tgz","_integrity":"sha512-8c0NKw8Me+uPMK7pcFsucUg6ny4NImaYKuW7qJwmzG8syFCeY0Qp6KdRR3Bk2zo8rdO8JObj/6lmxn9/6bMVwA==","repository":{"url":"git+https://github.com/Airnauts/commenting-tool.git","type":"git","directory":"packages/adapter-memory"},"_npmVersion":"10.9.2","description":"In-memory repository adapter for the Airnauts commenting tool server.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"@airnauts/comments-core":"^0.1.0","@airnauts/comments-server":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@airnauts/comments-test-support":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/comments-adapter-memory_0.1.0_1780410884184_0.7594349222813543","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @airnauts/airside-adapter-memory — install that instead. No longer maintained."},"0.2.0":{"name":"@airnauts/comments-adapter-memory","version":"0.2.0","keywords":["comments","commenting","annotations","feedback","airnauts","in-memory","adapter"],"author":{"name":"Airnauts"},"license":"MIT","_id":"@airnauts/comments-adapter-memory@0.2.0","maintainers":[{"name":"jkrzemie","email":"hello@airnauts.com"},{"name":"mateuszpaulski","email":"mateusz@airnauts.com"}],"homepage":"https://github.com/Airnauts/commenting-tool#readme","bugs":{"url":"https://github.com/Airnauts/commenting-tool/issues"},"dist":{"shasum":"11ada194ee70c6d1a59ef28a853915004e63633a","tarball":"https://registry.npmjs.org/@airnauts/comments-adapter-memory/-/comments-adapter-memory-0.2.0.tgz","fileCount":9,"integrity":"sha512-uKiBpfXIh8BH1bFTGcH44klGzKK4L2l8vNB0xsGCyK1BiSRvopEKsoF7BmxCek4YLUvZfHdqBBSBRqig7+HZ2A==","signatures":[{"sig":"MEQCIFYeipBzOch1zWGOm1IO2LnuDPuUDTjm46C5h2gt9w2mAiBVt/Yniv+fCKqfFwcrZc+1OCQLG3v9+S2nz/zatP1woQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23032},"type":"module","_from":"file:airnauts-comments-adapter-memory-0.2.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsup && tsc --build --force","typecheck":"tsc --build"},"_npmUser":{"name":"mateuszpaulski","email":"mateusz@airnauts.com"},"_resolved":"/tmp/fc72edbc14bb56f6ae71420d2857ab86/airnauts-comments-adapter-memory-0.2.0.tgz","_integrity":"sha512-uKiBpfXIh8BH1bFTGcH44klGzKK4L2l8vNB0xsGCyK1BiSRvopEKsoF7BmxCek4YLUvZfHdqBBSBRqig7+HZ2A==","repository":{"url":"git+https://github.com/Airnauts/commenting-tool.git","type":"git","directory":"packages/adapter-memory"},"_npmVersion":"10.9.8","description":"In-memory repository adapter for the Airnauts commenting tool server.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@airnauts/comments-core":"^0.2.0","@airnauts/comments-server":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@airnauts/comments-test-support":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/comments-adapter-memory_0.2.0_1780913164831_0.008359965541721914","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @airnauts/airside-adapter-memory — install that instead. No longer maintained."},"0.4.0":{"name":"@airnauts/comments-adapter-memory","version":"0.4.0","keywords":["comments","commenting","annotations","feedback","airnauts","in-memory","adapter"],"author":{"name":"Airnauts"},"license":"MIT","_id":"@airnauts/comments-adapter-memory@0.4.0","maintainers":[{"name":"jkrzemie","email":"hello@airnauts.com"},{"name":"mateuszpaulski","email":"mateusz@airnauts.com"}],"homepage":"https://github.com/Airnauts/commenting-tool#readme","bugs":{"url":"https://github.com/Airnauts/commenting-tool/issues"},"dist":{"shasum":"ad604202e4966742832f4f00011140ee71dca230","tarball":"https://registry.npmjs.org/@airnauts/comments-adapter-memory/-/comments-adapter-memory-0.4.0.tgz","fileCount":9,"integrity":"sha512-5k9QLVY5O9c0mUMGVox51ENEqkYuDNA/qg2WfEndC4nPtqExjJYTQ0fS7u0rptvPGL7T5NMz0llvCpSsmyB4Nw==","signatures":[{"sig":"MEYCIQCyZg8dW8JJUKFRemwFWjOJEG1h3MUz/Ii1DVrzW6j8bgIhAKg4AO16U1kS2bs/NQiYtpuuOcGubYRDmJNBBN6p0+Fi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23032},"type":"module","_from":"file:airnauts-comments-adapter-memory-0.4.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsup && tsc --build --force","typecheck":"tsc --build"},"_npmUser":{"name":"mateuszpaulski","email":"mateusz@airnauts.com"},"_resolved":"/tmp/968450581d2b1d03d9ab8394650f9751/airnauts-comments-adapter-memory-0.4.0.tgz","_integrity":"sha512-5k9QLVY5O9c0mUMGVox51ENEqkYuDNA/qg2WfEndC4nPtqExjJYTQ0fS7u0rptvPGL7T5NMz0llvCpSsmyB4Nw==","repository":{"url":"git+https://github.com/Airnauts/commenting-tool.git","type":"git","directory":"packages/adapter-memory"},"_npmVersion":"10.9.8","description":"In-memory repository adapter for the Airnauts commenting tool server.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@airnauts/comments-core":"^0.4.0","@airnauts/comments-server":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@airnauts/comments-test-support":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/comments-adapter-memory_0.4.0_1780915787381_0.5993614316588691","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @airnauts/airside-adapter-memory — install that instead. No longer maintained."},"0.5.0":{"name":"@airnauts/comments-adapter-memory","version":"0.5.0","keywords":["comments","commenting","annotations","feedback","airnauts","in-memory","adapter"],"author":{"name":"Airnauts"},"license":"MIT","_id":"@airnauts/comments-adapter-memory@0.5.0","maintainers":[{"name":"jkrzemie","email":"hello@airnauts.com"},{"name":"mateuszpaulski","email":"mateusz@airnauts.com"}],"homepage":"https://github.com/Airnauts/commenting-tool#readme","bugs":{"url":"https://github.com/Airnauts/commenting-tool/issues"},"dist":{"shasum":"25589560c36062f8cd945403d3e13980dda91235","tarball":"https://registry.npmjs.org/@airnauts/comments-adapter-memory/-/comments-adapter-memory-0.5.0.tgz","fileCount":9,"integrity":"sha512-fOYsfj4eDXIJcXZ0VDLdrtJpzt1EXyp7KBFxvrpKlDq8TAnHUHlHbU1jDuFv+cm/LZSbpDT3ibHEfjswYd+4mw==","signatures":[{"sig":"MEUCIDI6ru1CztVivPeC+CMB4yPdMvA3WXdot52bN22cb7vrAiEAkxtzoPlV+LY7yOa377fcas8qYhehqrZyuBcZ6EJyduQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23032},"type":"module","_from":"file:airnauts-comments-adapter-memory-0.5.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsup && tsc --build --force","typecheck":"tsc --build"},"_npmUser":{"name":"mateuszpaulski","email":"mateusz@airnauts.com"},"_resolved":"/tmp/e1b6a69b8481b459e22c9966922b5e7b/airnauts-comments-adapter-memory-0.5.0.tgz","_integrity":"sha512-fOYsfj4eDXIJcXZ0VDLdrtJpzt1EXyp7KBFxvrpKlDq8TAnHUHlHbU1jDuFv+cm/LZSbpDT3ibHEfjswYd+4mw==","repository":{"url":"git+https://github.com/Airnauts/commenting-tool.git","type":"git","directory":"packages/adapter-memory"},"_npmVersion":"10.9.8","description":"In-memory repository adapter for the Airnauts commenting tool server.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@airnauts/comments-core":"^0.5.0","@airnauts/comments-server":"^0.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@airnauts/comments-test-support":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/comments-adapter-memory_0.5.0_1780919620392_0.774972504795512","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @airnauts/airside-adapter-memory — install that instead. No longer maintained."},"0.5.1":{"name":"@airnauts/comments-adapter-memory","version":"0.5.1","keywords":["comments","commenting","annotations","feedback","airnauts","in-memory","adapter"],"author":{"name":"Airnauts"},"license":"MIT","_id":"@airnauts/comments-adapter-memory@0.5.1","maintainers":[{"name":"jkrzemie","email":"hello@airnauts.com"},{"name":"mateuszpaulski","email":"mateusz@airnauts.com"}],"homepage":"https://github.com/Airnauts/commenting-tool#readme","bugs":{"url":"https://github.com/Airnauts/commenting-tool/issues"},"dist":{"shasum":"7d98a43ab93e86d4a572427f5bc80359901bfe18","tarball":"https://registry.npmjs.org/@airnauts/comments-adapter-memory/-/comments-adapter-memory-0.5.1.tgz","fileCount":9,"integrity":"sha512-TBaryBTer69V4khFAZ0DQnY3ES1cH1GL/Qi28648HEI9BxpV77l6ywhpkYh6INIGqTKmmkJ3ecRFOLXIpkY2Mg==","signatures":[{"sig":"MEUCIQDBW9od+LnmY62I73Zrle29FzPraGMrI/2Pw3P25GQiPgIgQv65pK8nysQb7Mioefj2HYbLchROUqLxWy9bXfcEwpk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23032},"type":"module","_from":"file:airnauts-comments-adapter-memory-0.5.1.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsup && tsc --build --force","typecheck":"tsc --build"},"_npmUser":{"name":"mateuszpaulski","email":"mateusz@airnauts.com"},"_resolved":"/tmp/14117cf26d3ea420306e7fa6a0da7eb2/airnauts-comments-adapter-memory-0.5.1.tgz","_integrity":"sha512-TBaryBTer69V4khFAZ0DQnY3ES1cH1GL/Qi28648HEI9BxpV77l6ywhpkYh6INIGqTKmmkJ3ecRFOLXIpkY2Mg==","repository":{"url":"git+https://github.com/Airnauts/commenting-tool.git","type":"git","directory":"packages/adapter-memory"},"_npmVersion":"10.9.8","description":"In-memory repository adapter for the Airnauts commenting tool server.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@airnauts/comments-core":"^0.5.1","@airnauts/comments-server":"^0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@airnauts/comments-test-support":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/comments-adapter-memory_0.5.1_1780924736027_0.16597304990247852","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @airnauts/airside-adapter-memory — install that instead. No longer maintained."},"0.6.0":{"name":"@airnauts/comments-adapter-memory","version":"0.6.0","keywords":["comments","commenting","annotations","feedback","airnauts","in-memory","adapter"],"author":{"name":"Airnauts"},"license":"MIT","_id":"@airnauts/comments-adapter-memory@0.6.0","maintainers":[{"name":"jkrzemie","email":"hello@airnauts.com"},{"name":"mateuszpaulski","email":"mateusz@airnauts.com"}],"homepage":"https://github.com/Airnauts/commenting-tool#readme","bugs":{"url":"https://github.com/Airnauts/commenting-tool/issues"},"dist":{"shasum":"775fc2d078c8f5fde76eec9b2206bb8c1a7bd8cc","tarball":"https://registry.npmjs.org/@airnauts/comments-adapter-memory/-/comments-adapter-memory-0.6.0.tgz","fileCount":9,"integrity":"sha512-tnt4KVStZCchoUW+uQkLjoEyTYC9LN7cNcDMPNcbvNVVaqn8gtdNgGfhe0fjP6yEBUXNRF/kWpuyEA1UK7kEqg==","signatures":[{"sig":"MEUCIQDRPWsuCI8dvc1UW/xHnlKD+Rdpg+qzMtpYULtNhFYnlAIgEp4+hIGCUgKZGoUcK+4/iVT2tcoaIcLrYtG2HJHc814=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25548},"type":"module","_from":"file:airnauts-comments-adapter-memory-0.6.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsup && tsc --build --force","typecheck":"tsc --build"},"_npmUser":{"name":"mateuszpaulski","email":"mateusz@airnauts.com"},"_resolved":"/tmp/5e36862865d387f004cfe1fac0dfb6a9/airnauts-comments-adapter-memory-0.6.0.tgz","_integrity":"sha512-tnt4KVStZCchoUW+uQkLjoEyTYC9LN7cNcDMPNcbvNVVaqn8gtdNgGfhe0fjP6yEBUXNRF/kWpuyEA1UK7kEqg==","repository":{"url":"git+https://github.com/Airnauts/commenting-tool.git","type":"git","directory":"packages/adapter-memory"},"_npmVersion":"10.9.8","description":"In-memory repository adapter for the Airnauts commenting tool server.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@airnauts/comments-core":"^0.6.0","@airnauts/comments-server":"^0.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@airnauts/comments-test-support":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/comments-adapter-memory_0.6.0_1781537513928_0.7323203788241535","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @airnauts/airside-adapter-memory — install that instead. No longer maintained."},"0.7.0":{"name":"@airnauts/comments-adapter-memory","version":"0.7.0","keywords":["comments","commenting","annotations","feedback","airnauts","in-memory","adapter"],"author":{"name":"Airnauts"},"license":"MIT","_id":"@airnauts/comments-adapter-memory@0.7.0","maintainers":[{"name":"jkrzemie","email":"hello@airnauts.com"},{"name":"mateuszpaulski","email":"mateusz@airnauts.com"}],"homepage":"https://github.com/Airnauts/commenting-tool#readme","bugs":{"url":"https://github.com/Airnauts/commenting-tool/issues"},"dist":{"shasum":"030ef1db5adbc0accc69433aa61d173b7c5c00eb","tarball":"https://registry.npmjs.org/@airnauts/comments-adapter-memory/-/comments-adapter-memory-0.7.0.tgz","fileCount":9,"integrity":"sha512-khTxiTNOgSVZkG/qRsen/m6MZnTukXTPtawf6Be8yIVa/KRhNAkEKABlz9BpJRBggGNuAYev4vk8C+R2CTunpw==","signatures":[{"sig":"MEQCIBeVxNRutesuwm6aCECkgFUGcaESVC1O0dAs2u75rUH1AiBNaBi2dmA83PMx9pok5uI6K6CyzjecftRAPa3DbQaXuA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26018},"type":"module","_from":"file:airnauts-comments-adapter-memory-0.7.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsup && tsc --build --force","typecheck":"tsc --build"},"_npmUser":{"name":"mateuszpaulski","email":"mateusz@airnauts.com"},"_resolved":"/tmp/5ce8f5bda3017935d876a5a6cb7a798a/airnauts-comments-adapter-memory-0.7.0.tgz","_integrity":"sha512-khTxiTNOgSVZkG/qRsen/m6MZnTukXTPtawf6Be8yIVa/KRhNAkEKABlz9BpJRBggGNuAYev4vk8C+R2CTunpw==","repository":{"url":"git+https://github.com/Airnauts/commenting-tool.git","type":"git","directory":"packages/adapter-memory"},"_npmVersion":"10.9.8","description":"In-memory repository adapter for the Airnauts commenting tool server.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@airnauts/comments-core":"^0.7.0","@airnauts/comments-server":"^0.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@airnauts/comments-test-support":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/comments-adapter-memory_0.7.0_1781540305059_0.6428793466397984","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @airnauts/airside-adapter-memory — install that instead. No longer maintained."}},"time":{"created":"2026-06-02T14:34:43.970Z","modified":"2026-06-16T09:41:26.702Z","0.1.0":"2026-06-02T14:34:44.328Z","0.2.0":"2026-06-08T10:06:04.969Z","0.4.0":"2026-06-08T10:49:47.531Z","0.5.0":"2026-06-08T11:53:40.512Z","0.5.1":"2026-06-08T13:18:56.165Z","0.6.0":"2026-06-15T15:31:54.072Z","0.7.0":"2026-06-15T16:18:25.203Z"},"bugs":{"url":"https://github.com/Airnauts/commenting-tool/issues"},"author":{"name":"Airnauts"},"license":"MIT","homepage":"https://github.com/Airnauts/commenting-tool#readme","keywords":["comments","commenting","annotations","feedback","airnauts","in-memory","adapter"],"repository":{"url":"git+https://github.com/Airnauts/commenting-tool.git","type":"git","directory":"packages/adapter-memory"},"description":"In-memory repository adapter for the Airnauts commenting tool server.","maintainers":[{"name":"jkrzemie","email":"hello@airnauts.com"},{"name":"mateuszpaulski","email":"mateusz@airnauts.com"}],"readme":"# @airnauts/comments-adapter-memory\n\nIn-memory `Repository` adapter for the [Airnauts commenting tool](https://github.com/Airnauts/commenting-tool) server — ephemeral, process-local storage for local development and tests. State is lost when the process exits; swap in a real persistence adapter for production.\n\n## Installation\n\n```bash\npnpm add @airnauts/comments-adapter-memory\n```\n\n## Quick start\n\n```ts\nimport { createMemoryRepository } from '@airnauts/comments-adapter-memory'\n\nconst repository = createMemoryRepository()\n```\n\nPass `repository` to `createCommentsServer` from `@airnauts/comments-server` (or to `createCommentsAppRoute` / `createCommentsPagesRoute` from `@airnauts/comments-next`).\n\n## API reference\n\n### `createMemoryRepository()`\n\nReturns a fresh `Repository` backed by in-process Maps. No configuration, no connection.\n\n### `InMemoryRepository`\n\nThe underlying class, exported for use in tests that need direct access to the store:\n\n```ts\nimport { InMemoryRepository } from '@airnauts/comments-adapter-memory'\n\nconst repo = new InMemoryRepository()\n```\n\n## Requirements\n\n- Node.js ≥ 18\n\n## Related packages\n\n- **`@airnauts/comments-server`** — defines the `Repository` interface this adapter implements\n- **`@airnauts/comments-adapter-mongo`** — MongoDB adapter for production\n- **`@airnauts/comments-adapter-postgres`** — PostgreSQL adapter for production\n\n## License\n\nMIT © Airnauts\n","readmeFilename":"README.md"}