dalenguyen / firestore-backup-restore

NPM package for backup and restore Firebase Firestore
https://firebaseopensource.com/projects/dalenguyen/firestore-backup-restore/
MIT License
495 stars 84 forks source link

Invalid code example in README #130

Closed h1r0mu closed 2 years ago

h1r0mu commented 2 years ago

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