- Date added
-
July 5, 2014, 5:05 p.m.
- Description
- localForage is a JavaScript library that improves the offline experience of your web app by using an asynchronous data store with a simple, localStorage-like API. It allows developers to store many types of data instead of just strings.
localForage includes a localStorage-backed fallback store for browsers with no IndexedDB or WebSQL support. Asynchronous storage is available in the current versions of all major browsers: Chrome, Firefox, IE, and Safari (including Safari Mobile).
localForage supports both a callback-based and Promises-based API, so you can use whichever you prefer. At the current time, these docs use the callback API.