【问题标题】:Where can one find the list of all functions available under firebase-admin? firebase-functions?在哪里可以找到 firebase-admin 下所有可用功能的列表?火力基地功能?
【发布时间】:2017-06-09 13:34:38
【问题描述】:

我正在测试使用 Firebase Cloud Functions 编写代码。

const admin = require('firebase-admin');
const functions = require('firebase-functions');

在哪里可以找到 admin 下所有可用函数的列表,或函数,或任何其他流行或推荐的 firebase 或 Node.js 函数集?

顺便说一句,不应该有 firebase-cloud-functions 标签吗?

【问题讨论】:

  • 有关在 Firebase 中使用 Google Cloud Functions 的问题被标记为 [google-cloud-functions][firebase]。不需要单独的标签。

标签: node.js firebase google-cloud-functions


【解决方案1】:

您导入的 admin 模块是适用于节点的 Firebase Admin SDK。它记录在 this guidethis API reference 中。

您导入的 functions 模块是 Firebase 的 Cloud Functions 库。它记录在 this guidethis API reference 中。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多