# Firebase Rules Unit Testing — card for AI agents

Testing utilities for Firestore and Realtime Database security rules with emulators.

Category: Testing · npm package `@firebase/rules-unit-testing` · latest version 6.0.0 (checked 2026-11-10)
Install: `npm install @firebase/rules-unit-testing`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 52.2 (#1724 of all tools, 46 of 122 in its category)
- Used in 11 public projects set up for AI coding agents (0.2%)
- Downloads last week: 2,035,460 (as of 2026-11-24), +41.6% over 4 weeks
- GitHub stars: 5,161 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
Firebase 81.8%, Firebase Admin SDK 63.6%, Lucide React 68.2%, tsx 59.1%, Vite 63.6%, Recharts 45.5%

## Checked alternatives (same job)
- Vitest: https://agentgid.com/tools/vitest/agent.md
- Jest: https://agentgid.com/tools/jest/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/firebase-npm/
- Homepage: https://github.com/firebase/firebase-js-sdk#readme
- Repository: https://github.com/firebase/firebase-js-sdk

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
