{
 "kind": "tool",
 "slug": "idb-keyval",
 "path": "tools/idb-keyval/",
 "name": "idb-keyval",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "State and data fetching",
   "tools/state-data/"
  ]
 ],
 "lead": "Minimal key-value store built on IndexedDB for browser-based data persistence.",
 "chips": [
  {
   "label": "State and data fetching",
   "path": "tools/state-data/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install idb-keyval"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/jakearchibald/idb-keyval"
  },
  {
   "label": "Website",
   "href": "https://github.com/jakearchibald/idb-keyval#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/jakearchibald/idb-keyval"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Jul 8, 2026",
   "note": "",
   "src": "https://github.com/jakearchibald/idb-keyval"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "19 projects",
   "status": "info",
   "sub": "#15 of 53 in its category",
   "note": "Dependency in 19 public GitHub projects set up for AI coding agents that we scanned (0.3%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What idb-keyval does",
   "parts": [
    {
     "t": "prose",
     "text": "Minimal key-value store built on IndexedDB for browser-based data persistence."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "idb-keyval popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "62",
       "of": "/ 100",
       "l": "Gid Score, #908 overall"
      },
      {
       "n": "16.8M",
       "l": "downloads a week, npm"
      },
      {
       "n": "3,259",
       "l": "GitHub stars"
      },
      {
       "n": "19",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How idb-keyval is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "idb-keyval is a dependency in 19 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 52 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is TanStack Query (458 projects).",
      "Projects that use it most often also use Vite (69.2%), Vitest (67.3%), Testing Library (53.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "15 projects, 0.5%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "11 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "8 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 69.2% of its projects",
       "v": "Vite",
       "path": "tools/vite/"
      },
      {
       "l": "In 67.3% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 53.8% of its projects",
       "v": "Testing Library",
       "path": "tools/testing-library/"
      },
      {
       "l": "In 51.9% of its projects",
       "v": "Zustand",
       "path": "tools/zustand/"
      },
      {
       "l": "In 82.7% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 63.5% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 44.2% of its projects",
       "v": "TanStack Query",
       "path": "tools/tanstack-react-query/"
      },
      {
       "l": "In 42.3% of its projects",
       "v": "lint-staged",
       "path": "tools/lint-staged/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about idb-keyval",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in State and data fetching",
       "path": "tools/state-data/",
       "items": [
        {
         "text": "RxJS",
         "path": "tools/rxjs/"
        },
        {
         "text": "Pinia",
         "path": "tools/pinia/"
        },
        {
         "text": "SWR",
         "path": "tools/swr/"
        },
        {
         "text": "nuqs",
         "path": "tools/nuqs/"
        },
        {
         "text": "Immer",
         "path": "tools/immer/"
        },
        {
         "text": "React Redux",
         "path": "tools/react-redux/"
        },
        {
         "text": "Redux Toolkit",
         "path": "tools/reduxjs/"
        },
        {
         "text": "Jotai",
         "path": "tools/jotai/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "idb-keyval",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 62",
        "16.8M/wk"
       ]
      },
      {
       "name": "TanStack Query",
       "why": "Hooks for managing, caching and synchronizing remote data in React.",
       "path": "tools/tanstack-react-query/",
       "facts": [
        "MIT",
        "Gid 88",
        "92M/wk"
       ]
      },
      {
       "name": "Zustand",
       "why": "Lightweight state management for React with minimal boilerplate.",
       "path": "tools/zustand/",
       "facts": [
        "MIT",
        "Gid 88",
        "96.9M/wk"
       ]
      },
      {
       "name": "idb",
       "why": "Promise-based wrapper library making IndexedDB easier to use.",
       "path": "tools/idb/",
       "facts": [
        "ISC",
        "Gid 67",
        "38.1M/wk"
       ]
      }
     ],
     "more": "Compare idb-keyval with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install idb-keyval"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for idb-keyval yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm idb-keyval"
  ],
  [
   "Category",
   "State and data fetching"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "61.6"
  ],
  [
   "Rank in category",
   "#15 of 53"
  ],
  [
   "GitHub",
   "jakearchibald/idb-keyval"
  ],
  [
   "Last change",
   "Jul 8, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/jakearchibald.png"
}