0.0.8 • Published 4 years ago

@wonkytech/tm-firebase-functions v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

tm-firebase-functions

This component is used to create a generic set of Firebase functions, which help in the development of PWAs.

Installation

npm install @wonkytech/tm-firebase-functions

An example of a functions/index.js file

const databaseName = 'tm-firebase-pwa';
const appName = 'my-app';
const includeCronJobs = false;

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

const firebasePWA = require('@wonkytech/tm-firebase-pwa');

Object.assign(exports, firebasePWA.createGenericFunctions(functions, admin, databaseNAme, appName, includeCronJobs));
0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago