1.2.3 • Published 2 years ago

fb-helper v1.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

FB-Helper

The library helps to easily create requests to FireBase and without even understanding the database itself, just call one of the class methods and everything will be ready :)

Installation

if you already install firebase:

npm i --save-dev fb-helper

else:

npm i --save-dev fb-helper firebase

Usage

import { FirebaseHelper } from "fb-helper";

// Config from firebase 
const firebaseConfig = {
    apiKey: "...,
    authDomain: "...",
    projectId: "...",
    storageBucket: "...",
    messagingSenderId: "...",
    appId: "...",
    measurementId: "...
};

const helper = new FirebaseHelper({firebaseConfig});

Other config params

  • storageLink?: string, // link for you storage from firebase
  • isDatabase?: boolean, // true/false, specifies whether to create a database
  • isAnalytics?: boolean // true/false, specifies whether to create a analytics

Methods

License

The MIT License (MIT)

Copyright (C) «2022» by Trofim Iv

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

1.2.3

2 years ago

1.2.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago