Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@endb/postgres

chroventer18MIT1.3.0TypeScript support: included

PostgreSQL adapter for Endb

endb, key-value, cache, postgres

readme

@endb/postgres

PostgreSQL adapter for Endb

Installation

npm install @endb/postgres

Usage

const Endb = require('endb');
const endb = new Endb('postgresql://user:pass@localhost:5432/dbname');
const EndbPostgres = require('@endb/postgres');

const store = new EndbPostgres({
  uri: 'postgresql://user:pass@localhost:5432/dbname',
  table: 'cache',
});
const endb = new Endb({ store });