@backupfire/firebase

πŸ‘©β€πŸ­ Backup Fire Firebase agent

Showing:

Popularity

Downloads/wk

126

GitHub Stars

30

Maintenance

Last Commit

4mos ago

Contributors

2

Package

Dependencies

11

Size (min+gzip)

1915.9KB

License

BSD-3-Clause

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Backup Fire agent for Firebase

This is open-source core of Backup Fire, a service that enables automatic backup of Firestore, the Firebase's DB, and Firebase authentication data.

To setup automatic backups, sign up at Backup Fire, create a project, and follow the provided instructions. The examples below are provided only as a reference.

Installation

The library is available as an npm package. To install it, run:

npm install @backupfire/firebase --save
# or with yarn
yarn add @backupfire/firebase

Usage

Make sure that you created and activated a project at Backup Fire first.

JavaScript:

// 1. Import the agent package
const backupfireAgent = require('@backupfire/firebase')

// 2. Create and export the agent
exports.backupfire = backupfireAgent()

TypeScript:

// 1. Import the agent package
import backupfireAgent from '@backupfire/firebase'

// 2. Create and export the agent
export const backupfire = backupfireAgent()

Specify the region to deploy the agent function:

import backupfireAgent from '@backupfire/firebase'

export const backupfire = backupfireAgent({
  // See the list of available regions:
  // https://firebase.google.com/docs/functions/locations
  region: 'europe-west3'
})

License

BSD 3-Clause Β© Backup Fire

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100