@zajno/common-firebase
v4.1.1
Published
Zajno's re-usable Firebase utilities for JS/TS projects
Downloads
172
Readme
Zajno's Toolbox for Firebase projects
Moved from Zajno/common-firebase.
Extension for @zajno/common
, which adds more tools for development projects based on Firebase.
Contents
Firebase Client wrapper - a wrapper for
firebase js sdk
v9+ (modular API). Can help managing instance settings from one place while keeping the modular approach.- HTTP Functions call wrapper
AuthController
: client-side controller with common Firebase Authentication featuresStorageController
: client-side controller with common Firebase Storage features
HTTP Functions definitions - abstract definitions to be used on a middle-layer with in/out type definitions.
- Composite functions - abstraction for defining multiple logic endpoints on a single Firebase Function.
Server-side helpers - for Firebase Functions
- Functions Wrapper: construct functions (v1) from Endpoint definitions, defined
Middlewares
for code reuse and better readability. - Pubsub helpers - for Firebase Pubsub
- Various:
Storage
,Admin
,Logger
and more.
- Functions Wrapper: construct functions (v1) from Endpoint definitions, defined
Usage
Install:
npm i @zajno/common-firebase
See usage & distribution notes from @zajno/common
's README.