@tymber/postgres
v0.0.1
Published
PostgreSQL module for the Tymber framework
Maintainers
Readme
The PostgreSQL module (DB & PubSubService components).
Table of contents
Installation
npm i @tymber/postgres pgUsage
import * as pg from "pg";
import { PostgresDB } from "@tymber/postgres";
const pgPool = new pg.Pool({
user: "postgres",
password: "changeit",
});
const db = new PostgresDB(pgPool);