IndexedDB adapter for NebulaDB
Part of the NebulaDB project - a high-performance, reactive, TypeScript-first, schema-optional, embeddable NoSQL database.
npm install @nebula-db/adapter-indexeddb
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 });
For full documentation, visit the NebulaDB GitHub repository.
MIT