sequelize/sequelize ? reverse-engineered prompt

Reverse engineered prompt

Build me a modern Node.js and TypeScript ORM library that makes working with SQL databases feel simple and friendly. I want to be able to define models, set up relationships, run queries with promises, and handle transactions cleanly. It should work with Postgres, MySQL, MariaDB, SQLite, SQL Server, Snowflake, Oracle, DB2, and DB2 for IBM i, and support things like eager and lazy loading, JSON fields where the database allows it, and read replication.

Please make it production ready, with good TypeScript types, solid tests, and clear docs or examples so someone can get started quickly. If you need to look up current database or TypeScript details online, go ahead and do that. Focus on making the developer experience smooth, reliable, and easy to understand.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab