Search code examples
databasenode.jsnosqlembedded-database

Embedded document database for Node.js


What is the best embedded NoSQL database for Node.js?

My node.js application is too tiny to use a big database like mongodb which need extra configurations.

I tried EJDB, but it need too much disk space (about 1.5MB for each record).

I also search the web, but google gave me so many choices, which made me so confused.

Here are some requirements:

  • fast and lightweight
  • no need too much config
  • be able to store large amount of data (about hundred thousand records, total size in 1GB)
  • better package for Node.js

Solution

  • The most popular embedded Node.js database on GitHub is NeDB