Skip to content

firebase/firebase-admin-node

This branch is 1 commit ahead of, 260 commits behind master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

279cf27 · May 24, 2023
May 17, 2023
Aug 15, 2018
Feb 24, 2023
May 24, 2023
May 24, 2023
May 24, 2023
May 4, 2017
Jan 13, 2022
Oct 13, 2021
Jun 14, 2022
May 4, 2017
May 4, 2017
Jun 14, 2022
Oct 14, 2021
Nov 16, 2022
Oct 13, 2021
Oct 13, 2021
Oct 13, 2021
May 23, 2023
May 4, 2023
Jun 14, 2022

Repository files navigation

Build Status

Firebase Admin Node.js SDK

Table of Contents

Overview

Firebase provides the tools and infrastructure you need to develop your app, grow your user base, and earn money. The Firebase Admin Node.js SDK enables access to Firebase services from privileged environments (such as servers or cloud) in Node.js.

For more information, visit the Firebase Admin SDK setup guide.

Installation

The Firebase Admin Node.js SDK is available on npm as firebase-admin:

$ npm install --save firebase-admin

To use the module in your application, require it from any JavaScript file:

const { initializeApp } = require("firebase-admin/app");

initializeApp();

If you are using ES2015, you can import the module instead:

import { initializeApp } from "firebase-admin/app";

initializeApp();

Contributing

Please refer to the CONTRIBUTING page for more information about how you can contribute to this project. We welcome bug reports, feature requests, code review feedback, and also pull requests.

Supported Environments

We support Node.js 14 and higher.

Please also note that the Admin SDK should only be used in server-side/back-end environments controlled by the app developer. This includes most server and serverless platforms (both on-premise and in the cloud). It is not recommended to use the Admin SDK in client-side environments.

Documentation

Acknowledgments

Thanks to the team at Casetext for transferring ownership of the firebase-admin npm module over to the Firebase team and for their longtime use and support of the Firebase platform.

License

Firebase Admin Node.js SDK is licensed under the Apache License, version 2.0.

Your use of Firebase is governed by the Terms of Service for Firebase Services.