@juit/pgproxy-client-whatwg v1.1.7
PostgreSQL Proxy Client (WHATWG + WebCrypto Implementation)
This package provides client for PGProxy Servers based on WHATWG fetch
and
WebSockets, and the WebCrypto API.
Usage with PGClient
Simply register the client by importing it, and ensure that the PGURL
environment variable is set to the HTTP/HTTPS url of the server (or specify
the URL in the constructor):
import '@juit/pgproxy-client-whatwg'
import { PGClient } from '@juit/pgproxy-client'
const client = new PGClient('https://my-secret@my-pgproxy-server:54321/')
Direct usage
The WHATWG client can be used directly by simply importing the WHATWGClient
class:
import { WHATWGClient } from '@juit/pgproxy-client-whatwg'
const client = new WHATWGClient('https://my-secret@my-pgproxy-server:54321/')
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
9 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
12 months ago
12 months ago
12 months ago
12 months ago
11 months ago
11 months ago
11 months ago
10 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago