Ponder is a third-party module available at deno.land. Simply import & export the dependency for use in your project.
To include Ponder in your next project, add this dependency:
import * as ponder from "https://deno.land/x/ponder/mod.ts";
You'll now be able to connect Ponder to your Database. First, store your Database URI in your .env file. Then pull it into your working file and store it.
const DB_URI = Deno.env.get('DB_URI');
You can connect to your DB using the built-in poolConnection method:
const ponderDB1 = await ponder.poolConnection(DB_URI);
Now you are now able to run any of the built in functions off the ponderDB1 variable:
const inserted = await ponderDB1.insertIntoTable('people', ['name', 'hair_color'], ['Corey', 'red-brown']);
A more in-depth Getting Started guide is available in the docs.