1.0.6 • Published 2 years ago
fb-utils v1.0.6
fb-utils
Work in progress
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.
Install
yarn add fb-utils
or
npm install fb-utils
Usage
import { cacheFirestoreQuery } from "fb-utils";
cacheFirestoreQuery("test");
//=> 'test'