Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@backupfire/firebase

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backupfire/firebase

Backup Fire Firebase agent

  • 1.9.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 09 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc