MikroORM is unclaimed —
M
MikroORM
TypeScript ORM built on proven patterns·mikro-orm.io
MikroORM is a TypeScript ORM for Node.js based on the Data Mapper, Unit of Work, and Identity Map patterns. It provides type-safe, performant database access with minimal boilerplate, supporting multiple entity definition styles (defineEntity, decorators, EntitySchema) and offering schema management, migrations, seeding, and event/lifecycle hooks. It works across a range of SQL and NoSQL databases through a single API.
What it's for
Building type-safe database layers for Node.js applicationsAutomatic change tracking and batched queries via Unit of WorkSchema prototyping, versioning, and introspectionSeeding databases with test data using entity factoriesImplementing multi-tenancy and soft deletes via query filtersType-checked eager/lazy loading with populate hintsUsing a type-safe SQL query builder (Kysely) alongside ORM entities
Features 15
- Batched queries wrapped in implicit transactions on flush
- CLI tooling (@mikro-orm/cli)
- EntityGenerator to introspect existing databases
- Event system with entity lifecycle hooks and onFlush events
- First-class Kysely integration with full autocompletion for tables and columns
- First-class support for MongoDB, PostgreSQL, MySQL, MariaDB, SQLite, libSQL, MS SQL Server, and more
- Fully type-safe queries, populate hints, and entity operations
- Global and entity-level query filters for multi-tenancy and soft deletes
- Metadata-aware QueryBuilder
- Migrations for schema versioning
- Multiple entity definition styles: defineEntity, decorators, EntitySchema
- SchemaGenerator for prototyping schemas
- Seeding and factories for generating test data
- Type-checked populate hints with auto-joined loading strategies
- Unit of Work and Identity Map for automatic change tracking