@noy-db/memory
v0.2.0
Published
In-memory adapter for noy-db — ideal for testing, development, and ephemeral workloads
Maintainers
Readme
@noy-db/memory
In-memory adapter for noy-db — ideal for testing and ephemeral workloads.
Install
pnpm add @noy-db/core @noy-db/memoryUsage
import { createNoydb } from '@noy-db/core'
import { memory } from '@noy-db/memory'
const db = await createNoydb({
adapter: memory(),
userId: 'alice',
passphrase: 'correct horse battery staple',
})Data lives only in the current process — it's gone when the process exits. Perfect for:
- Unit and integration tests
- Short-lived scripts
- Benchmarks
- Prototyping before wiring up persistent storage
License
MIT © vLannaAi — see the noy-db repo for full documentation.
