Firebase REST Firestore is a lightweight Firestore REST API client optimized for Edge runtime environments such as Cloudflare Workers and Vercel Edge Functions, where the Firebase Admin SDK cannot run. Version 1.6.0 offers full CRUD operations, TypeScript support, token caching, and an intuitive API with explicit configuration. It differentiates itself by avoiding hidden environment variable dependencies and supporting FieldValue sentinels like serverTimestamp. Released under MIT license, it requires Node.js >=20.8.1.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
The package is ESM-only; CommonJS require is not supported.
The FirestoreClient class is exported as a named export. It is primarily used for type annotations.
FieldValue is a named export providing sentinels like serverTimestamp().
The package does not have a default export; use namespace import if needed.
Shows creating a client, adding a document with server timestamp, retrieving by ID, and querying with a filter.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.