docs / drivers-js
On this page
Node, Bun, and Deno
Shared TypeScript types live in `drivers/js/types.d.ts`. The Node and Bun clients have the same shape.
Node.js / Bun
TypeScript: import { connect, type Config } from "./drivers/node/nextsql".
Deno
Typed parameters
{ kind: "uuid" | "decimal", value: "…" }, numbers, strings, booleans, Date, number[] (vectors), { lon, lat } (points), { west, south, east, north } (boxes), or a plain object (JSON).
Remote TLS:
For --require-client-key, pass key as a 32-byte Buffer or Uint8Array.