6 ms·
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 https:
by slantyyz 6y ago
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 https://github.com/techfort/LokiJS
- waltpad 6y agoI 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.
- slantyyz 6y agoSorry 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.
- waltpad 6y agoOh, 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.
- runawaybottle 6y agoI’ve used Loki as more of an in memory db in the Browser, never with the assumption of using it as real storage.