These libraries are pretty small so I'm not too worried about adding them.
lz-string is popular and stable.
chrome-storage-largeSync is unpopular and the code confuses me but it seems to work well enough and fast enough and it's small enough. I've modified the code a bit to work better both in browser and chrome extension.
Closes #6
I also did some little testing and it seems that the compression is good enough for us to do a really, really niave revision history (#14) simply by saving previous versions of a note as separate copies and then counting on it to shrink it down. (I'm not sure the speed implications of this yet.)
These libraries are pretty small so I'm not too worried about adding them.
lz-string is popular and stable.
chrome-storage-largeSync is unpopular and the code confuses me but it seems to work well enough and fast enough and it's small enough. I've modified the code a bit to work better both in browser and chrome extension.
Closes #6
I also did some little testing and it seems that the compression is good enough for us to do a really, really niave revision history (#14) simply by saving previous versions of a note as separate copies and then counting on it to shrink it down. (I'm not sure the speed implications of this yet.)