You connect to Materialize the same way you connect to PostgreSQL with node-postgres.
Install the dependencies:
npm install pg
You connect to Materialize the same way you connect to PostgreSQL with node-postgres.
Install the dependencies:
npm install pg