Skip to content

Instantly share code, notes, and snippets.

@ernestkamara
Last active March 23, 2020 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ernestkamara/49c783d0ce05d86fa1838ee486fca359 to your computer and use it in GitHub Desktop.
Save ernestkamara/49c783d0ce05d86fa1838ee486fca359 to your computer and use it in GitHub Desktop.
Cloud Functions Demo Dependencies
// functions/index.js
const admin = require('firebase-admin');
const functions = require('firebase-functions');
// Path to a service account key JSON file
const serviceAccount = require("./account_key.json");
// Lightweight JavaScript date library for parsing, validating,
// manipulating, and formatting dates.
const moment = require('moment');
// Serpwow module
const SerpWow = require('google-search-results-serpwow');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment