Download store data to a file (export and import) #164
-
Hello. Is there a way to download a If not, I think that a utility function (or a persister type?) that allows to do that would be a great addition, as this library is already very local-first. People may easily create their own export/import implementations, but I am sure that a build-in would help DX and would have other synergies with the librar's features (persister? sync? formats?). In my case I would need this for a fully offline app (a personal tracker/logger) that, once loaded from the web, works fully offline. So all the data is persisted with TinyBase+IndexDb. I felt the need to allow users to export/import for ownership/migration/backup reason. Btw, nice library ⭐ well done! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Do the getJson and setJson methods work for this maybe? |
Beta Was this translation helpful? Give feedback.
Do the getJson and setJson methods work for this maybe?