node package manager

firebase-admin

Firebase admin SDK for Node.js

Firebase Admin Node.js SDK

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 provides admin (second-party) access to several Firebase services.

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

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:

var admin = require("firebase-admin");

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

import * as admin from "firebase-admin";

Release Notes for the Firebase Admin Node.js SDK are available here.

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.

The Firebase Admin Node.js SDK is covered by the Terms of Service for Firebase Services.