How do I use supabase?

Hi! I am new to freeCodeCamp and learning javascript. I was wanting to know for future reference how to connect a PostgreSQL database to javascript. I would prefer using a library or an npm package.

Using Supabase with what? React, NextJS,?

I just want to connect it so I can make apps with it via command line.