Firebase utility functions to help working with firebase easier.
Motivation was after following the official docs/examples I ended up with gray hair trying to deploy a simple Cloud Function that caches Firestore queries/data. The idea is to abstract re-usable methods for anyone working with firebase/firestore.
yarn add fb-utils
or
npm install fb-utils
import { cacheFirestoreQuery } from "fb-utils";
cacheFirestoreQuery("test");
//=> 'test'