-
Notifications
You must be signed in to change notification settings - Fork 1k
Home
Embedded persistent database for Node.js, written in Javascript, with no dependency (except npm
modules of course). You can think of it as a SQLite for Node.js projects, which
can be used with a simple require
statement. The API is a subset of MongoDB's. You can use it as a persistent or an in-memory only datastore.
NeDB is not intended to be a replacement of large-scale databases such as MongoDB! Its goal is to provide you with a clean and easy way to query data and persist it to disk, for web applications that do not need lots of concurrent connections, for example a continuous integration and deployment server and desktop applications built with Node Webkit.
I recently benchmarked NeDB against the popular client-side database TaffyDB and NeDB is much, much faster, so I will port it to browsers. Please comment on this issue if you have any ideas/requirements.
Module name on npm is nedb
.
npm install nedb --save // Put latest version in your package.json
npm test // You'll need the dev dependencies to test it
It's a subset of MongoDB's API (the most used operations). The current API will not change, but I will add operations as they are needed. Summary of the API: