0.2.2 • Published 6 months ago

@nebula-db/adapter-memory v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@nebula-db/adapter-memory

In-memory adapter for NebulaDB

Part of the NebulaDB project - a high-performance, reactive, TypeScript-first, schema-optional, embeddable NoSQL database.

Installation

npm install @nebula-db/adapter-memory

Usage

import { createDb } from '@nebula-db/core';
import { MemoryAdapter } from '@nebula-db/adapter-memory';

// Create a database with memory adapter
const db = createDb({
  adapter: new MemoryAdapter()
});

// Use the database
const users = db.collection('users');
await users.insert({ name: 'Alice', age: 30 });

Documentation

For full documentation, visit the NebulaDB GitHub repository.

License

MIT

0.2.2

6 months ago

0.2.1

6 months ago

0.2.0

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago