1 comment

[ 3.5 ms ] story [ 12.3 ms ] thread
hey HN! This is a simple typescript wrapper around the npm pg-node library which provides autocomplete and validation for basic crud queries out of the box, without having to use an ORM.

I do alot of refactoring on my projects and I find crud queries to be around 80% of my APIs, so having typescript have my back really helps out.

The idea is mostly to provide helper functions for the common commands we do, and leave the more complex queries to the same query APIs in pg-node, with a couple tiny optional helper functions for field autocompletion.

Curious to hear your thoughts!

Note: Posted again from a couple hours ago since I didn't realise the repo was private!