views:

12

answers:

0

I'm working on a Chrome Extension that uses WebSQL to store historical data. Being WebSQL, the DB is stored on the client.

I'd like to add an option to export/import such data so that the user can share/use this data with other users, or with other PCs.

These are my first steps on a client-only database, so I wonder how to do this. I was thinking to convert the DB to a huge json string that the user can copy/paste but doesn't look very user-friendly.

Is there any better solution?