fake-indexeddb
In-memory IndexedDB implementation for testing without browser storage.
Testing npm Apache-2.0
Used in agent projects
31
0.2% of 12,697 public repos built with AI coding agents
Rank in testing
#25 of 40
by use in those projects
Downloads
7.3M
npm, last 7 days, fake-indexeddb
GitHub stars
696
last push May 13, 2026
How fake-indexeddb is used
fake-indexeddb is a dependency in 31 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #25 of 40 in testing. The most used alternative there is Vitest. Projects that use it most often also use Vitest (93.5%), Vite (74.2%), Playwright (JavaScript) (58.1%).
Often used with fake-indexeddb
| Vitest | 93.5% of fake-indexeddb projects · 7.7× more than average |
|---|---|
| Vite | 74.2% of fake-indexeddb projects · 3.3× more than average |
| Playwright (JavaScript) | 58.1% of fake-indexeddb projects · 6.6× more than average |
| Testing Library | 51.6% of fake-indexeddb projects · 7.2× more than average |
| jsdom | 51.6% of fake-indexeddb projects · 9.6× more than average |
| TypeScript | 96.8% of fake-indexeddb projects · 1.7× more than average |
| tsx | 38.7% of fake-indexeddb projects · 3.9× more than average |
| vite-plugin-pwa | 35.5% of fake-indexeddb projects · 47.4× more than average |
By coding agent
| Claude Code | 0.5% of projects set up for it |
|---|---|
| GitHub Copilot | 0.5% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
| Gemini CLI | 1.1% of projects set up for it |
Share of public repos configured for each agent that list fake-indexeddb as a dependency.
Install
| Package | npm install fake-indexeddb |
|---|---|
| Main stacks | TypeScript / JavaScript (23), Next.js (6), Python (1), Rust (1) |
| Example projects | miantiao-me/bm.md, cin12211/orca-q, Real1tyy/Nexus-Properties, bitovi/convey, RajwanYair/WoodworkingShop |
Alternatives to fake-indexeddb
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vitest npm Next-generation testing framework powered by Vite with native ESM. |
1,549 (12.2%) | 123M | 17.2K | MIT |
| Playwright (JavaScript) npm Cross-browser automation library for end-to-end testing. |
1,117 (8.8%) | 74.2M | 97.4K | Apache-2.0 |
| Testing Library npm Testing utilities for React encouraging testing user behavior. |
915 (7.2%) | 68.7M | 19.7K | MIT |
| Jest npm Delightful JavaScript testing framework with minimal configuration. |
702 (5.5%) | 46.3M | 45.6K | MIT |
| jsdom npm JavaScript implementation of web standards for testing DOM interactions. |
681 (5.4%) | 112M | 21.7K | MIT |
| pytest pypi Simple, powerful Python testing framework with fixtures and plugins. |
330 (2.6%) | 196M | 14.6K | — |
| Chai npm BDD/TDD assertion library for Node.js and browsers with expressive syntax. |
305 (2.4%) | 14M | 8,265 | MIT |
| Mocha npm Feature-rich JavaScript test framework for Node.js and browsers. |
281 (2.2%) | 12.6M | 22.9K | MIT |