Skip to content
Developer tools
Complete

MongoLite

A MongoDB-style client backed by SQLite: the same query API, in a single file, with no server to run.

The problem

A lot of software wants MongoDB’s query semantics without a MongoDB server behind it. Local applications, command line tools, test suites, and caches that have to survive a restart or a dropped connection.

The outcome

An npm package with the familiar API, plus indexes, aggregation and change streams. It can sync writes upstream to a real MongoDB when one is reachable, and post them to an HTTP endpoint when it is not.

Built with

  • TypeScript
  • SQLite
  • Node.js