@endb/postgres
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

@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 });

/@endb/postgres/

    Package Sidebar

    Install

    npm i @endb/postgres

    Homepage

    endb.js.org/

    Weekly Downloads

    5

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    2.33 kB

    Total Files

    6

    Last publish

    Collaborators

    • chroventer