Firebase Rules Parser

JSON →
library 2.0.1 ·javascript maintenance
verified May 27, 2026

The `firebase-rules-parser` library provides a parser and emulator for Firebase security rules, allowing developers to programmatically load and test Firebase rule files. Its primary use case is facilitating unit testing for Firebase projects, particularly as a companion to `ts-mock-firebase`. The current stable version is 2.0.1, released in May 2019. While it aims to support nearly all Firebase rules language functionality, it explicitly notes limitations with duration, latlong, and timestamp functions. The project's release cadence appears to be slow or inactive since 2019, and it differentiates itself by offering an off-platform rule emulation capability without requiring a live Firebase instance, making it suitable for local development and CI/CD pipelines. It ships with TypeScript types, enhancing developer experience for TypeScript users.

total hits 30
actors 9 distinct systems
last hit 14h ago ByteDance
ByteDance
5
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
Search engines
2
Humans
6

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · 🇷🇺 Russia