Using localForage for Offline Data Storage

localForage is a JavaScript library that provides the ease of use of localStorage with all the advanced features of IndexedDB.