This looks interesting.
I’m guessing it’s in memory only, and so has load the whole dataset?
Quite similar to LokiJS:
https://github.com/techfort/LokiJS
I like how’s its modular so you only have to include the bits you want and not a massive library.