Hacker News new | ask | show | jobs
by Rohansi 7 days ago
This is almost what C# does with LINQ to SQL, etc. Very cool hack.
1 comments

My port of LINQ into TypeScript: https://tinqerjs.org

By now battle-tested in production.

Can you compare it to kysely.dev?
Not a big fan of kysely's approach, but it's subjective.

  kysely: query = query.where('id', '=', criteria.id)
  tinqerjs: query = query.where(x => x.id === criteria.id)
Tinqerjs adopts LINQ's expression-tree based approach. It's type-safe, and I suppose so is kysely.