Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This reminds me a lot of LokiJS[1], which, if I recall correctly, could optionally save the data as JSON file(s).

[1] https://github.com/techfort/LokiJS



I think that, oddly enough, the point of that project is to use the JSON format as the DB storage format, not as an export option. Just from the look of it (I don't know either projects), LokiJS will very likely be always faster.


Sorry for the confusion, by "save as", I didn't mean export.

LokiJS has multiple persistence options, with JSON files in the filesystem being just one of them.

Alternatively, you could also just use it in-memory or with IndexedDB.


Oh, I understand. I suppose it makes sense, if for instance one needs to store a bunch of parameters somewhere, it might as well be a JSON file.


I’ve used Loki as more of an in memory db in the Browser, never with the assumption of using it as real storage.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: