MongoDB REST Relay

JSON →
library 1.12.0 ·javascript
verified Jun 5, 2026

Relay MongoDB queries over HTTP REST, designed for edge and serverless environments. Current stable version is 1.12.0. Package is actively maintained with semantic-release. It acts as a drop-in replacement for the MongoDB Node.js driver, proxying queries to a server endpoint running near your database. Unlike MongoDB's Atlas REST API, this uses a custom relay with fixed pricing. Supports basic CRUD operations, caching via Next.js/Vercel Data Cache, and streaming. Requires bson@6.2.0 and mongodb@6.2.0 as peer dependencies. Ships TypeScript types.