Neon · Pipe
useSecureWebSocket
The Neon serverless driver connects JavaScript and TypeScript applications to Postgres from serverless and edge environments. It uses HTTP by default and WebSockets when sessions or interactive transactions are needed.
Last updated
Syntax
neon(connectionString)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Use the driver over HTTPUse the driver over WebSocketsPoolClientinteractive transactionssessionsnode-postgres