-
TypeORM
ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Then you should look at https://www.npmjs.com/package/pg. If you want to write raw queries this will do the job for you !
don't use TypOrm, since its future and funding are unclear and has over 1,5k open issues on github.
slonik is great because it lets you write plain sql queries, while preventing sql injections. It also has good transaction and TypeScript support
Related posts
-
Slonik: A PostgreSQL client with strict types, detailed logging, and assertions
-
Drizzle is just as unready for prime-time as Prisma, what else is there?
-
An effective way to build a heavy CRUD Rest API?
-
Authentication part 3 using NestJS and Postgres database neon.tech
-
PostgresJs: The Fastest full featured PostgreSQL client for Node.js and Deno