Skip to content

ZorixThe Modern IDB Layer

High-performance, type-safe database layer for the modern web.

Zorix Logo
npm install @zorix/zorixdb
typescript
import { DB, schema, string, number } from '@zorix/zorixdb';
const db = new DB('mydb', {
  version: 1,
});
const Users = await db.model(
  'users',
  schema({
    id: number().primary(),
    name: string().index(),
  })
);
await Users.insert({ id: 1, name: 'Alice' });
const user = await Users.get(1);
Performance
Sub-ms
Native B-Tree indexing.
Typing
100%
TS Inference.
Bundle
< 30KB
Zero dependencies.

Released under the MIT License.