Provides a MongoDB-style NoSQL interface backed by Cloudflare Workers Durable Objects using SQLite storage. Version 0.0.1, early-stage. Differentiates by offering a familiar MongoDB-like API (find, insert, update, delete) for Durable Objects, simplifying state management in edge workers. Enables schema-less document storage with indexing support, leveraging Cloudflare's distributed execution model.
npm install durable-objects-nosqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a Durable Object class with a MongoDB-like collection, create an index, insert and query a document.
Use a single Durable Object class per collection or implement custom routing.
Pin to exact version and review changelog before upgrades.
Always await asynchronous operations to avoid undefined results.
Call createIndex in the class constructor or an init method called on first request.
Use `collection.updateMany({ filter }, { $set: {...} })` matching MongoDB syntax.Run `npm install durable-objects-nosql` and ensure import path is correct (no typo).
Ensure you import Collection as named export: `import { Collection } from 'durable-objects-nosql'`.Run code only inside a Cloudflare Worker with proper bindings.
No dependency data recorded yet.