Can I read or write to persistent storage?


#1

You can write to temporary storage or to user-picked files and folders. You can also write to your plugin’s data folder without user mediation.


#2

Use something like this with light weight in memory option.
http://lokijs.org