{"_id":"@byronwade/adapter-memory","name":"@byronwade/adapter-memory","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@byronwade/adapter-memory","version":"0.1.0","description":"In-memory adapter for Fakebase — full FakebaseAdapter implementation","license":"MIT","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dependencies":{"@byronwade/core":"0.1.0","@byronwade/auth":"0.1.0","@byronwade/storage":"0.1.0"},"devDependencies":{"@types/node":"^22.0.0","typescript":"^5.5.0","vitest":"^2.0.0"},"author":{"name":"Byron Wade"},"homepage":"https://github.com/byronwade/fakebase#readme","bugs":{"url":"https://github.com/byronwade/fakebase/issues"},"repository":{"type":"git","url":"git+https://github.com/byronwade/fakebase.git","directory":"packages/adapter-memory"},"engines":{"node":">=20.0.0"},"sideEffects":false,"publishConfig":{"access":"public"},"keywords":["supabase","local","dev","nextjs","prototype","fakebase"],"scripts":{"build":"tsc -p tsconfig.json","test":"vitest run","typecheck":"tsc --noEmit","clean":"rm -rf dist","lint":"eslint src"},"_id":"@byronwade/adapter-memory@0.1.0","_integrity":"sha512-hD/Gg6UWeWqz17L4kkL33vLdbUgmjFyF0rmNttUmdoIrVqxqWti4fbJXUp/yUAi8rd9VxQgxV6+sIG8Q1IbDLw==","_resolved":"/private/tmp/claude-501/31313092252fae38e235089003dbee13/byronwade-adapter-memory-0.1.0.tgz","_from":"file:byronwade-adapter-memory-0.1.0.tgz","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-hD/Gg6UWeWqz17L4kkL33vLdbUgmjFyF0rmNttUmdoIrVqxqWti4fbJXUp/yUAi8rd9VxQgxV6+sIG8Q1IbDLw==","shasum":"888086cf87f09b1abad76779b2bf38bb61eff816","tarball":"https://registry.npmjs.org/@byronwade/adapter-memory/-/adapter-memory-0.1.0.tgz","fileCount":15,"unpackedSize":41399,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD5PgO/cFmkRjv0NoLgKbdU8uGJUVGrA7j3ooJfEi9eVwIhAIejDX/+qDkiczMwiG/o9n9hs+bKslSvvabATLlkY7Kq"}]},"_npmUser":{"name":"byronwade","email":"bcw1995@gmail.com"},"directories":{},"maintainers":[{"name":"byronwade","email":"bcw1995@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/adapter-memory_0.1.0_1780452917866_0.017231793033066767"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-03T02:15:17.750Z","0.1.0":"2026-06-03T02:15:18.040Z","modified":"2026-06-03T02:15:18.201Z"},"maintainers":[{"name":"byronwade","email":"bcw1995@gmail.com"}],"description":"In-memory adapter for Fakebase — full FakebaseAdapter implementation","homepage":"https://github.com/byronwade/fakebase#readme","keywords":["supabase","local","dev","nextjs","prototype","fakebase"],"repository":{"type":"git","url":"git+https://github.com/byronwade/fakebase.git","directory":"packages/adapter-memory"},"author":{"name":"Byron Wade"},"bugs":{"url":"https://github.com/byronwade/fakebase/issues"},"license":"MIT","readme":"# `@byronwade/adapter-memory`\n\n> Part of [**Fakebase**](https://github.com/byronwade/fakebase) — a Supabase-shaped, **local/dev-only** development platform for Next.js prototypes. Not for production use.\n\nThe zero-setup, in-memory adapter — the default backing store for local dev. Data lives entirely in-process and resets when the process exits, which makes it perfect for tests and quick prototypes.\n\n## Installation\n\n```bash\npnpm add fakebase\n```\n\nThis package ships with `fakebase` and is published as `@byronwade/adapter-memory`.\n\n## Usage\n\n```ts\nimport { createClient } from \"@byronwade/fakebase\";\nimport { createMemoryKernel } from \"@byronwade/adapter-memory\";\n\nconst kernel = createMemoryKernel(); // optionally pass a ProjectSchemaIR\nconst db = createClient(\"http://localhost\", \"anon-key\", { kernel });\n```\n\n## What's inside\n\n- `createMemoryKernel(schema?)` — builds a fully wired kernel (data + auth + storage) in one call.\n- `MemoryAdapter` — the raw `FakebaseAdapter` implementation if you want to assemble a kernel yourself.\n\nState is **not** persisted across restarts — use `@byronwade/adapter-json` or `@byronwade/adapter-sqlite` for durability.\n\n## Documentation\n\n- [Project README](https://github.com/byronwade/fakebase#readme)\n- [Architecture](https://github.com/byronwade/fakebase/blob/main/docs/architecture.md)\n- [Compatibility matrix](https://github.com/byronwade/fakebase/blob/main/docs/compatibility-matrix.md)\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-651ca6d6d8d8cedfc193a3922ddf36bc"}