SimpleORM is a minimal, zero-config ORM for TypeScript developers who want to go from zero to one quickly. Current stable version is 1.0.8, released monthly. It simplifies database interactions by eliminating the need for complex schemas, migrations, and entity classes. Unlike heavy ORMs like TypeORM or Prisma, SimpleORM uses a single declaration object to define tables and relationships (one-to-one, one-to-many) and provides basic CRUD operations (insert, list, get, update, delete). It ships inline TypeScript types and depends on TypeScript ^5.0.0 as a peer dependency. Note it does not handle N+1 queries or advanced filtering; it's designed for prototyping and small apps.
npm install dead-simple-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes SimpleORM with an in-memory SQLite database, defines a User and Post schema with one-to-many relationship, inserts a user and a post, then performs CRUD operations.
Manually batch queries or upgrade to a more advanced ORM like Drizzle for production.
Define numeric/boolean fields as 'text' and parse manually, or choose a different ORM.
Use array methods like filter() on the result of orm.list() for small datasets.
Use a database instance compatible with the expected interface (e.g., createBunSqliteDB from a shim).
Ensure you create the ORM instance first: const orm = new SimpleORM(db, declaration);
Run npm install dead-simple-orm and verify import path is exactly 'dead-simple-orm'.
Use: import { SimpleORM } from 'dead-simple-orm' then new SimpleORM(db, decl).insert(...)Use import syntax and ensure your project or tsconfig has "module": "ESNext" or similar.