No Schema ORM

One API to Rule Them All

Modular database abstraction with virtual relationships. Support for 7 drivers, 50+ methods, and DataLoader batching. One API to rule them all.

Multi-Driver Support
TypeScript Ready

Everything you need.
Nothing you don't.

Built for modern development workflows. Hawiah strips away the complexity of traditional ORMs while keeping the power you need.

Modular Architecture

Install only what you need. Core package + your choice of drivers. Keep your bundle size small and dependencies minimal.

Lightning Fast

Zero-overhead abstraction. Direct driver access when you need it.

In-Memory
JSON
SQLite
MongoDB

Type Safe

First-class TypeScript support. Autocomplete and type checking out of the box.

Virtual Relationships

Create relationships between instances with DataLoader batching. Avoid N+1 queries.

Universal Compatibility

Run Anywhere

Works in Node.js, Bun, Deno, and Edge environments. One library for all your JavaScript runtimes.

Node.js
Bun
Edge

Connect to Any Database

Unified API across all supported drivers

✨ Plus Virtual Relationships with DataLoader batching

MemoryDriver

In-memory storage

@hawiah/local

JSONDriver

Local JSON files

@hawiah/local

YAMLDriver

Local YAML files

@hawiah/local

SQLiteDriver

SQLite database

@hawiah/sqlite

MongoDriver

MongoDB support

@hawiah/mongo

FirebaseDriver

Firebase Firestore

@hawiah/firebase

PostgreSQLDriver

PostgreSQL database

@hawiah/postgres

MySQLDriver

MySQL database

@hawiah/mysql

CustomDriver

Build your own

DIY

One API, Multiple Drivers

Same code, different databases. Switch drivers without changing your application logic.

import { Hawiah } from 'hawiah';
import { JSONDriver } from '@hawiah/local';

const driver = new JSONDriver('./users.json');
const db = new Hawiah({ driver });

await db.connect();
await db.insert({ 
  id: 1, 
  name: 'Ahmed', 
  age: 25 
});

const users = await db.get({});
await db.disconnect();

Ready to simplify your database layer?

Modular, flexible, and easy to use. Start with JSON files, scale to MongoDB or PostgreSQL. Open source and free forever.