1.0.16 • Published 5 days ago

@juit/pgproxy-client-whatwg v1.0.16

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 days ago

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/')
1.0.16

5 days ago

1.0.15

13 days ago

1.0.14

20 days ago

1.0.13

27 days ago

1.0.12

1 month ago

1.0.11

1 month ago

1.0.10

2 months ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

5 months ago