Skip to main content

Query Neon PostgreSQL from serverless/worker/edge functions over WebSockets or https

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
70%
Published
3 weeks ago (1.0.1)
v
_bundleExt
No documentation available
v
allKeyUsages
No documentation available
I
ClientBase
No documentation available
I
DataRequest
No documentation available
T
DistinguishedName
No documentation available
I
FetchEndpointOptions
No documentation available
f
neon

Returns an async tagged-template function that runs a single SQL query (no session or transactions) with low latency over https. Queries are composable: they can be embedded inside each other.

T
NeonConfigGlobalAndClient
No documentation available
T
NeonConfigGlobalOnly
No documentation available
I
NeonQueryFunction
No documentation available
I
NeonQueryFunctionInTransaction
No documentation available
I
NeonQueryInTransaction
No documentation available
T
OID
No documentation available
I
ParameterizedQuery
No documentation available
c
I
Pool

The node-postgres Pool object re-exported with minor modifications. https://node-postgres.com/apis/pool

I
PoolClient
No documentation available
T
QueryRows
No documentation available
E
ReadMode
No documentation available
T
RootCertsData
No documentation available
I
RootCertsDatabase
No documentation available
I
RootCertsIndex
No documentation available
c
f
startTls
No documentation available
I
c
TrustedCert
No documentation available
c
UnsafeRawSql
No documentation available
f
warnIfBrowser

Detects if the code is running in a browser environment and displays a warning about the security implications of running SQL directly from the browser.

I
WebSocketConstructor
No documentation available
c
WebSocketReadQueue
No documentation available