Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Pretty slick. Anyone thinking of using this for anything serious, though, should note the disclaimer:

“The HTML5 Filesystem API is only supported in Chrome. Therefore, the library only works in Chrome.”



This is a perfect compliment to something like jstorage though. html5 localstorage gives about 5mb of data stored as text (~5million characters). But chrome uses UTF-16 encoding giving you only about ~2.7 million characters of storage. Effectively halving the size of the total storage. Something like this might work well in place of jstorage on chrome.


Isn't there a binary storage option? I don't wanna Base64 encode everything... Seems ridiculous.


Nope. Probably something to do with security. But everything needs to be string. It works well for everything other than images.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: