Instant Firestore Utils
Lightweight Firebase Firestore utility library.
Please note: Although this package can be utilized with raw Firestore Documents and Collections, it may be easier to use the instant-firestore
ORM depending on your requirements.
Table of Contents
Installation
You can install this package using npm:
$ npm install instant-firestore-utils
Usage
Here is a quick example to get you started:
ES Modules
; const test = async { const doc = await ; // Assumes db is a Firebase Firestore reference console;};
CommonJS Modules
var getDocument = getDocument; ;
API
getDocument
getCollection
getSubCollection
serializeDocument
serializeSnapshot
populate
populateReference
populatePath
populateSubcollection
deserialize
deserializePath
Contributing
We'd greatly appreciate any contribution you make.