Ponder v0.1.0 has been released, alpha version out now! Use at your own Discretion!
Ponder

A simple ORM for PostGreSQL, built for Deno.

the Ponder logo: the Deno dinosaur pondering in front of two databases

Come wander into Ponder.

Object Relational Mapping Tool for Deno

Ponder is a third-party module available at deno.land. Simply import & export the dependency for use in your project.

Documentation

Basic CRUD Functionality for PostGreSQL including Managing Tables.

Read More

Database Introspection for interacting with your database through object representations of the tables.

Written 100% in TypeScript, No config file or compilier needed.

Read More

Super lightweight: only the crucial functionalities you need.

Read More

Ponder can create model instances from your database.

Built-in testing tool available through Deno

Read More

Getting Started

Deno CLI version 1.25.0 or higher is required. Install or update.

To include Ponder in your next project, add this dependency:

import * as ponder from "https://deno.land/x/ponder/mod.ts";
Copied!

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');
Copied!

You can connect to your DB using the built-in poolConnection method:

const ponderDB1 = await ponder.poolConnection(DB_URI);
Copied!

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']);
Copied!

A more in-depth Getting Started guide is available in the docs.

Ponder
Simple ORM for PostGresSQL in Deno.
Community
Made by Ponder.