Skip to content

Firebase utility functions to help working with firebase easier.

Notifications You must be signed in to change notification settings

NazimHAli/fb-utils

Repository files navigation

fb-utils

npm package Build Status Build Size Downloads Issues Commitizen Friendly Semantic Release

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'