{"library":"mongodb-rest-relay","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.12.0","tags":["javascript","mongodb","edge","serverless","database","rest","http","vercel","nextjs","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongodb-rest-relay","imports":["import { MongoClient } from 'mongodb-rest-relay'","import { ObjectId } from 'mongodb-rest-relay'","import makeExpressRelay from 'mongodb-rest-relay/lib/server/express'"]},{"cmd":"yarn add mongodb-rest-relay","imports":[]},{"cmd":"pnpm add mongodb-rest-relay","imports":[]}],"homepage":"https://github.com/gadicc/mongodb-rest-relay#readme","github":"https://github.com/gadicc/mongodb-rest-relay","docs":null,"changelog":null,"pypi":null,"npm":"mongodb-rest-relay","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}