New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cache-idb

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-idb

> ⚠️ Work in Progress — This package is currently under development.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

idb-cache

⚠️ Work in Progress — This package is currently under development.

idb-cache aims to be a lightweight, flexible, and developer-friendly caching layer for React (or general JS apps) using IndexedDB under the hood.

The goal is to simplify front-end caching of API responses, large datasets (like GeoJSON), or version-controlled assets, all while ensuring performance and reliability in offline-first scenarios.

📦 Why is this published?

This package is published early to secure the name idb-cache on npm.
Implementation is not yet complete, and not recommended for production use at this stage.

📅 Roadmap (Planned Features)

  • ✅ Simple API for setting/getting cache with expiration and version control
  • 🔄 Background cache refresh (stale-while-revalidate model)
  • 🧠 Auto garbage collection of outdated entries
  • 📁 Namespace and key scoping
  • ⚛️ React integration via custom hooks (optional)
  • 🌐 Multi-tab synchronization support

🛠️ Installation (for testing/dev purposes only)

npm install idb-cache

Keywords

indexed-db

FAQs

Package last updated on 02 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts