Skip to content

Show HN: I built tinyORM, a minimal, database-agnostic TypeScript ORM

github.com/marcospgp
3 pointsthisismyswampdiscuss
On HN

hey guys! I'm a big believer in simple tools that can be adopted fast and really try to avoid heavy dependencies in my projects.

I think the current ORM model is too restrictive and complex, so I set out to design the perfect minimal ORM for developers that want to ship fast instead of reading documentation and writing SQL migrations that have to run in a world-stopping fashion.

The library is still pre-v1 as I want to add a lot more examples, particularly for React - as I'm now using it on a react project - but the core logic is locked down, and the main motto is that it will never go past 100 lines of zero-dependency code.

Any feedback is appreciated. I really enjoy using it in my own projects and believe it represents a new storage paradigm that prioritizes simplicity and speed of development over micro optimizations.

There are definitely some tradeoffs I would say, but I believe tinyORM sits in a very advantageous position in the tradeoff space - it trades a little optimization for huge gains in simplicity.

Thank you for taking a look! Happy to answer any questions. Your feedback will result in material changes to the library, so please don't hesitate to share your thoughts!

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.