跳到正文

Neon Serverless Driver

活跃
neondatabase/serverless

Neon 推出的低延迟 PostgreSQL 驱动,适用于 Cloudflare Workers 等无服务器与边缘运行时:用 HTTP 和 WebSocket 代替 TCP,可直接替换 node-postgres。

在 GitHub 查看
星标
556
Fork
94
关注
556
未关闭 Issue
58

该介绍目前仅提供英文版本。

Overview

@neondatabase/serverless is Neon’s PostgreSQL driver for JavaScript and TypeScript. It is:

  • Low-latency, thanks to message pipelining and other optimizations
  • Built for serverless and edge runtimes such as Cloudflare Workers, using HTTPS and WebSockets in place of raw TCP
  • A drop-in replacement for node-postgres (pg), on which it is based

Install

npm install @neondatabase/serverless

TypeScript types are included. The README explains how to alias it in place of pg for packages that depend on node-postgres.

按共同分类和标签排序的同类开源项目。

全部开发工具项目 →