NeDB

NeDB is embedded document DBMS written in JavaScript. It supports Node.js, nw.js, Electron, and web browser environments. It is designed to be partially compatible with MongoDB's JSON-based query API.

System Architecture

Embedded

Indexes

AVL-Tree

Stored Procedures

Not Supported

Data Model

Document / XML

Storage Architecture

In-Memory

The DBMS reads the entire database into memory. It can then flush out all changes on shutdown.

Query Interface

Custom API

The JavaScript API is a subset of MongoDB.

Storage Organization

Heaps