sindresorhus / awesome-nodejs

:zap: Delightful Node.js packages and resources
https://node.cool
Creative Commons Zero v1.0 Universal
58.07k stars 5.82k forks source link

Add sqlx-ts under Compile-time checked queries (new category) #1249

Open JasonShin opened 1 year ago

JasonShin commented 1 year ago

By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖

⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

Hi, I've recently worked on a project sqlx-ts

https://github.com/JasonShin/sqlx-ts

blog articles: https://functional.works-hub.com/learn/sqlx-ts-compile-time-checked-queries-with-dsl-in-typescript-9c47b

It is a tool that is featuring compile-time checked queries without a DSL and generates types against SQLs to keep your code type safe. It works nicely with node.js codebase as you can still use sqlx-ts to simply perform query validations only.

In the TS world, I firmly believe that it is a replacement of schemats listed under https://github.com/dzharii/awesome-typescript/blob/master/README.md#tools -> This is because the project is unmaintained and sqlx-ts is written in Rust with all the modern capabilities

JasonShin commented 1 year ago

@sindresorhus Thanks for the feedback. I've updated the PR based on the two comments and requesting for another review, thanks.