@nebula-db/adapter-indexeddb
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

@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-indexeddb

Usage

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

Package Sidebar

Install

npm i @nebula-db/adapter-indexeddb

Weekly Downloads

182

Version

0.2.2

License

MIT

Unpacked Size

9.79 kB

Total Files

6

Last publish

Collaborators

  • codeteck