0.2.2 • Published 6 months ago
@nebula-db/adapter-indexeddb v0.2.2
@nebula-db/adapter-indexeddb
IndexedDB 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-indexeddbUsage
import { createDb } from '@nebula-db/core';
import { IndexeddbAdapter } from '@nebula-db/adapter-indexeddb';
// Create a database with indexeddb adapter
const db = createDb({
adapter: new IndexeddbAdapter()
});
// 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