Can't find a good database library

Hi,

I’d like to play more with PureScript (learnt the basics) and develop a JSON API with httpurple, but I’m not finding any good database libraries to go with it.

I’m looking for a compatibility with sqlite (ok) or postgresql (better).

I do find a few interesting packages here and there but they seem unmaintained and not compatible with the current compiler. If I skim over the latest package set, I only see “basic” database drivers.

Ideally, I’m looking for something like the Hasql library. I find it a good mix between adding a bit of type safety and not moving away too much from SQL.

Do you have any recommendations?

Also do you have any tips on how to find good libraries? I find it a bit hit and miss searching via pursuit.

Thanks!