MongoDB-compatible SDK for json-server (v0.1.2). Provides a MongoDB-like query interface (find, insertOne, updateOne, deleteOne, countDocuments) on top of a REST API. Designed to work with JSON Server instances, allowing developers to use familiar MongoDB operations without a full MongoDB backend. Includes TypeScript types. Released as a single version; no major updates yet. Differentiator: bridges MongoDB syntax with REST endpoints for quick prototyping.
npm install mongojsonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates full CRUD and count using MongoDB-like syntax with mongojson against a JSON Server backend.
Ensure your backend is a JSON Server instance supporting mongojson operations.
Use the correct URI format as shown in the documentation.
Run 'npm install mongojson' and use ESM import syntax.
Ensure you use `new MongoClient(uri)` and then call `await client.connect()`.
No dependency data recorded yet.