awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mozilla avatar

mozilla/localForage

0
View on GitHub↗
25,780 星标·1,293 分支·JavaScript·Apache-2.0·7 次浏览localforage.github.io/localForage↗

LocalForage

localForage is a browser storage wrapper and key-value store that provides a unified JavaScript API for persisting data. It acts as an abstraction layer over IndexedDB, WebSQL, and localStorage, allowing web applications to save data offline.

The library features a priority-based driver fallback system that automatically detects and selects the most capable storage engine available in the browser. It simplifies data management by providing an asynchronous interface for storing complex JavaScript objects and binary buffers without requiring manual serialization.

The project covers broad capability areas including browser client-side storage, IndexedDB management, and the creation of isolated storage instances to keep data sets separate. It also supports the implementation of custom storage drivers to control how data is physically written and read.

Features

  • Storage Abstraction - Provides a unified storage abstraction layer that wraps disparate browser storage APIs into a single consistent interface.
  • Browser Storage Managers - Acts as a browser storage manager providing a unified API for IndexedDB, WebSQL, and localStorage.
  • Client-Side Storage - Provides a comprehensive solution for client-side storage in browser environments using a unified API.
  • Complex Data Serialization - Provides complex data serialization for native JavaScript objects and binary buffers.
  • Transparent - Automatically handles the serialization and deserialization of JavaScript objects and binary buffers for storage.
  • Transparent JavaScript - Saves native JavaScript objects and binary buffers to browser storage without manual string conversion.
  • Key-Value Persistence Stores - Provides a key-value persistence store in the browser with automatic fallback for compatibility.
  • Key-Value Stores - Implements a lightweight key-value store for persisting application state in the browser.
  • Offline-First Persistence - Enables offline-first persistence by automatically selecting the best available local storage mechanism.
  • Storage Engine Fallbacks - Automatically selects the most capable storage engine and reverts to simpler alternatives via a priority-based fallback system.
  • Storage Abstraction Layers - Implements a storage abstraction layer that decouples application logic from specific browser storage engines.
  • IndexedDB Stores - Simplifies IndexedDB store management by providing an easier asynchronous API for complex objects.
  • Pluggable Storage Drivers - Features a pluggable architecture that allows developers to inject custom storage drivers for data persistence.
  • Custom Storage Adapters - Allows the definition of custom storage adapters to control the physical writing and reading of data.
  • Promise-Based API Wrappers - Provides a promise-based API wrapper that converts legacy storage callbacks into a modern asynchronous flow.
  • Offline Web Applications - Provides the architectural persistence layer required for offline web applications to retain information.
  • Client-Side Storage - Offline storage wrapper for IndexedDB, WebSQL, and LocalStorage.
  • Web Components and UI - Consistent interface for offline storage using IndexedDB or WebSQL.

Star 历史

mozilla/localforage 的 Star 历史图表mozilla/localforage 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

LocalForage 的开源替代方案

相似的开源项目,按与 LocalForage 的功能重合度排序。
  • pubkey/rxdbpubkey 的头像

    pubkey/rxdb

    23,048在 GitHub 上查看↗

    This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a robust framework for managing application state by synchronizing data across browsers, mobile devices, and server-side runtimes. By treating local storage as the primary source of truth, it enables applications to remain functional without network connectivity, automatically reconciling changes with remote backends once a connection is restored. The database distinguishes itself through a modular architecture that supports cross-environment synchronization and high-performance d

    TypeScriptangularbrowser-databasecouchdb
    在 GitHub 上查看↗23,048
  • marcuswestin/store.jsmarcuswestin 的头像

    marcuswestin/store.js

    13,983在 GitHub 上查看↗

    Store.js is a client-side state persistence library and web storage abstraction layer. It provides a consistent browser key-value storage wrapper that manages the persistence of application state across sessions using the most capable available local storage mechanism. The engine is extensible, allowing for the integration of custom storage backends and plugins to modify how data is read and written. It functions as a reactive web storage manager, monitoring specific keys to trigger notifications when stored values are updated. The library handles automatic data serialization for complex typ

    JavaScriptcross-browserjavascriptlocalstorage
    在 GitHub 上查看↗13,983
  • localforage/localforagelocalForage 的头像

    localForage/localForage

    25,755在 GitHub 上查看↗

    This project is an asynchronous key-value store designed for client-side data persistence. It provides a unified interface that allows applications to save and retrieve complex data types, including binary objects, while maintaining responsiveness through non-blocking operations. By enabling offline-first functionality, it ensures that data remains accessible even when a network connection is unavailable. The library distinguishes itself through a driver-based abstraction layer that automatically detects the most efficient storage mechanism available in the current browser or mobile environme

    JavaScriptindexeddbjavascriptlocalforage
    在 GitHub 上查看↗25,755
  • dexie/dexie.jsdexie 的头像

    dexie/Dexie.js

    14,445在 GitHub 上查看↗

    Dexie.js is a wrapper library for IndexedDB that provides a simplified interface for managing and querying structured data within the browser. It functions as a browser database manager used to maintain persistent application state and store binary blobs and records. The project serves as an offline-first data store that synchronizes browser data with remote servers to maintain consistency across sessions. It also acts as a reactive database store by monitoring data changes in real time to trigger automatic user interface updates, and functions as a client-side search engine for indexing and

    TypeScript
    在 GitHub 上查看↗14,445
查看 LocalForage 的所有 30 个替代方案→

常见问题解答

mozilla/localforage 是做什么的?

localForage is a browser storage wrapper and key-value store that provides a unified JavaScript API for persisting data. It acts as an abstraction layer over IndexedDB, WebSQL, and localStorage, allowing web applications to save data offline.

mozilla/localforage 的主要功能有哪些?

mozilla/localforage 的主要功能包括:Storage Abstraction, Browser Storage Managers, Client-Side Storage, Complex Data Serialization, Transparent, Transparent JavaScript, Key-Value Persistence Stores, Key-Value Stores。

mozilla/localforage 有哪些开源替代品?

mozilla/localforage 的开源替代品包括: pubkey/rxdb — This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a… marcuswestin/store.js — Store.js is a client-side state persistence library and web storage abstraction layer. It provides a consistent… localforage/localforage — This project is an asynchronous key-value store designed for client-side data persistence. It provides a unified… dexie/dexie.js — Dexie.js is a wrapper library for IndexedDB that provides a simplified interface for managing and querying structured… react-native-async-storage/async-storage — React Native AsyncStorage is a persistent key-value storage library designed for React Native applications. It… apache/pouchdb — PouchDB is a JavaScript NoSQL document store designed to persist JSON data within web browsers or Node.js…