localforage: Detailed Overview & Metrics

v1.10.0(about 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 the added benefits of asynchronous storage and larger storage capacity. LocalForage is designed to be easy to use and works seamlessly across different browsers, providing a consistent data storage solution for web applications.

Compared to alternatives like localStorage or sessionStorage, LocalForage offers better performance and reliability, especially for larger datasets. It also provides additional features like automatic data serialization and expiration, making it a versatile choice for client-side data storage.

Alternatives:
idb+
dexie+
pouchdb+
local-storage+
store.js+
jsstore+
lovefield+
alasql+
lowdb+
loki+

Tags: javascriptbrowserdata-storageasynchronousIndexedDB