dalenguyen / firestore-backup-restore

NPM package for backup and restore Firebase Firestore

Home Page:https://firebaseopensource.com/projects/dalenguyen/firestore-backup-restore/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid code example in README

h1r0mu opened this issue · comments

Hi, I found mismatch between an example in README and the actual code. The first example in README imports initializeApp, but it's actually initializeFirebaseApp [1].

const { initializeApp } = require('firestore-export-import')

// The above line should be 
const { initializeFirebaseApp } = require('firestore-export-import')

[1] https://github.com/dalenguyen/firestore-backup-restore/blob/dev/src/index.ts#L18