LokiJS is a fast in-memory datastore written in JavaScript, which prioritises performance and a small footprint over everything else. This introduction is aimed at making the best usage of the library for those who are already familiar with it. You can probably follow it even if you’re not familiar with LokiJS, but for a more basic tutorial and overview of LokiJS feel free to head over to lokijs.org or the github page for the code itself.
[…]
So far so good, if we inspect our collection we can also see that LokiJS has added some metadata to the original objects:
[…]