Search packages, repositories and app categories

Package detailsv2.11.3

idb_shim

indexed_db dart base interface with implementation for native (browser), file (io) and in memory.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
257K
Likes
40
Pub points
160

Install package

flutter pub add idb_shim

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

idb_shim provides a unified Dart interface for IndexedDB across multiple platforms, including web browsers, mobile (Android/iOS), and desktop (macOS, Windows, Linux). It offers native browser support, file-based storage via the 'io' package, and in-memory storage for testing or temporary data. This package enables consistent NoSQL database operations regardless of the underlying platform, making it ideal for apps requiring offline data persistence with cross-platform compatibility.

Use cases

  • Offline data storage
  • Cross-platform app development
  • Testing with in-memory databases
  • Persistent client-side data
  • Hybrid web and mobile applications

Key features

  • Unified IndexedDB API
  • Supports native browser, file, and in-memory backends
  • Cross-platform compatibility
  • Simple async/await interface
  • Lightweight and modular design

Suitable for

  • Flutter apps needing persistent storage
  • Developers targeting multiple platforms
  • Apps requiring offline functionality
  • Prototyping with temporary data
  • Projects using NoSQL data models

Considerations

  • Requires understanding of IndexedDB concepts
  • File-based storage may have size limits
  • In-memory mode not persistent across restarts
  • Not suitable for large-scale data without optimization
  • Platform-specific behavior may require testing

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

idb_shim

Indexed DB API on top of native (browser) and sembast (io/memory) implementation. Its goal is to allow testing your database schema and access in vm unit tests.

Categories

Dependencies

Dependency list 6 items

Source repository

Projects using this package

Rankings