TypeScript · Node.js · 7 Providers

@romatech/orm

A TypeScript ORM inspired by Entity Framework Core. Decorators, migrations, scaffold, bulk operations, transactions, and 7 database providers.

Up and running in seconds

app.ts
@Entity('Users')
class User {
  @PrimaryKey() id!: number;
  @Column() @Index() email!: string;
  @Version() version!: number;
}

const db = new AppDb();
db.users.add({ id: 1, email: 'alice@ex.com' });
await db.saveChanges();

Everything you need for data access

Decorator-based Entities

@Entity, @Column, @PrimaryKey, @Index, @Version, @SoftDelete, relationships. Clean and declarative.

Transactions

beginTransaction(), commit(), rollback(). Atomic operations across multiple entities.

Bulk Operations

bulkInsert, bulkUpdate, upsert, deleteWhere, updateWhere. High-performance batch operations.

LINQ-style Queries

where, select, orderBy, skip, take, first, any, all, count. Familiar API for .NET developers.

One API. Any database.

Install the core + the provider for your database. Same API everywhere.

Start building with @romatech/orm

Install, define entities, run. It's that simple.