Firestore REST API wrapper library worked on sveltekit + Cloudflare Workers
The “firefightertestfirefighter” is a Firestore REST API wrapper library that is designed to work on @sveltejs/kit + Cloudflare Workers. It allows for reading and writing to Firestore using a JWT authenticated by Firebase Authentication or Google OAuth. This library was created to address the limitation of the official Firestore library, which currently cannot be used on page.js and server.js of @sveltejs/kit + Cloudflare Workers.
To install the “firefightertestfirefighter” library, follow these steps:
npm install [library-name]
import { Firestore } from 'firefightertestfirefighter';
const firestore = new Firestore(jwt, fetch);
The “firefightertestfirefighter” library is a Firestore REST API wrapper designed to be used with @sveltejs/kit + Cloudflare Workers. It provides functionality for reading and writing data to Firestore using a JWT authenticated by Firebase Authentication or Google OAuth. It offers features such as retrieving data, executing queries, updating documents, creating new documents, and performing batch operations or transactions. This library is a workaround for the limitations of the official Firestore library in the specified environment.