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

0.2.2 • Public • Published

@nebula-db/adapter-sqlite

SQLite 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-sqlite

Usage

import { createDb } from '@nebula-db/core';
import { SqliteAdapter } from '@nebula-db/adapter-sqlite';

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

// 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-sqlite

Weekly Downloads

5

Version

0.2.2

License

MIT

Unpacked Size

1.76 kB

Total Files

2

Last publish

Collaborators

  • codeteck