RedditPP Mascot

RedditPP

r/webdev • … • u/Chung_L_Lee

soStorage javascript library - enhanced browser's local storage with indexedDB

Why the creation?

**Local Storage** is convenient to store some custom data that persist after website reload, but it is very limited in size and data type.

On the other hand, **indexedDB** has none of these problems, but it is quite cumbersome to use. So I wrote a small simple utility to take advantage the indexedDB capabilities while using it like Local Storage.

\----------------

soStorage is a small single file and a zero dependency JavaScript library:

* provide an enhanced Local Storage alike experience in browsers with native indexedDB's data storage advantages. (No more limits in 10MB of data storage size) * It aims to be simple to use with supports to callbacks, promises, and async/await. (Just use it almost like Local Storage)

Github: [soStorage](https://github.com/chunglimlee/soStorage)

NPM: [soStorage](https://www.npmjs.com/package/sostorage)

— 0