Give Firebase wings! - Useful helper-functions for Firebase's JS SDK.
Make sure you have Firebase installed in your project and Firestore initiated.
"dependencies": {
"firebase": "latest"
}npm i firewingsAdd the below code to wherever you want to use the functions.
import { queryFirestore } from 'firewings'
//or
import { unwrapFirestoreDoc } from 'firewings'
// and so onSee all details to our helper functions here.
| Name | Descripton |
|---|---|
| queryFirestore() | see docs |
| unwrapFirestoreDoc() | see docs |
| addToFirestore() | see docs |
| setToFirestore() | see docs |
| changeDocId() | see docs |
| deleteEntireCollection() | see docs |
| copyCollection() | see docs |
