Skip to content

FabricElements/shared-helpers

Repository files navigation

FabricElements Shared Helpers

Use @fabricelements/shared-helpers on Firebase projects.


Installation

From NPM

$ npm i @fabricelements/shared-helpers --save

or from GitHub

$ npm i github:FabricElements/shared-helpers --save

Examples

Basic usage

Import only what you need

import {firestore, pubSubEvent} from "@fabricelements/shared-helpers";

Or import everything

import * as sharedHelpers from "@fabricelements/shared-helpers";

Available functions

Call firebase project base API

Custom backup from Firestore to BigQuery

Check if number is valid and format

Big Query Clean Database

Google Cloud Firestore helpers

Basic and reusable helpers

Generate randomDomain hash id with 4 characters or more

Google cloud Pub/Sub event

Replace message text with custom keys

Replace special character to regular gsm character

Update Status Collection with Errors

Contributing

Please check CONTRIBUTING.

License

Released under the BSD 3-Clause License.