{"library":"koishi-database-memory","type":"library","category":null,"description":"koishi-database-memory is an in-memory database implementation for the Koishi chatbot framework (v4.x). Version 1.2.0 provides a lightweight, zero-configuration database backend that stores all data in memory, suitable for development, testing, or small-scale deployments where persistence is not required. It ships with TypeScript types and requires koishi-core ^1.12.0 as a peer dependency. Unlike SQL-based databases (e.g., koishi-database-sqlite or koishi-database-mysql), it offers the fastest read/write speeds but no data persistence across restarts. The package is maintained as part of the Koishi monorepo and follows its release cadence. It is intended for use cases where temporary storage suffices, and can be easily swapped with a persistent database later.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install koishi-database-memory","imports":["import { MemoryDatabase } from 'koishi-database-memory'","import MemoryDatabase from 'koishi-database-memory'","import type { MemoryDatabaseConfig } from 'koishi-database-memory'","import { MemoryDatabase } from 'koishi-database-memory'"]},{"cmd":"yarn add koishi-database-memory","imports":[]},{"cmd":"pnpm add koishi-database-memory","imports":[]}],"homepage":null,"github":"https://github.com/koishijs/koishi","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koishi-database-memory","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}