localforage: Detailed Overview & Metrics

v1.10.0(almost 3 years ago)

This package was last published over a year ago. It may not be actively maintained.Types definitions are bundled with the npm packageNumber of direct dependencies: 1Monthly npm downloads

LocalForage is a JavaScript library that provides a simple API for storing data in the browser, using asynchronous storage mechanisms like IndexedDB, WebSQL, or localStorage. It offers a localStorage-like API but with additional features like support for complex data types, automatic JSON serialization, and the ability to store large amounts of data efficiently.

Compared to traditional localStorage, LocalForage provides a more robust and efficient solution for client-side data storage, with better performance and support for larger data sizes. It is actively maintained, with regular updates and improvements, making it a reliable choice for offline data storage in web applications.

Alternatives:
dexie+
pouchdb+
idb+
idb-keyval+
lovefield+
rxdb+
indexeddbshim+
store2+
localbase+
basil.js+

Tags: javascriptbrowserstorageindexeddblocalstorage