npm.io
0.1.9 • Published 6 years ago

@wonkytech/tm-firebase-service

Licence
MIT
Version
0.1.9
Deps
3
Size
297 kB
Vulns
0
Weekly
0

tm-firebase-service

This is a template for creating new web component repositories.

Installation

npm install @wonkytech/tm-firebase-service

Usage

import {FirbaseService} from '@wonkytech/tm-firebase-service';
FirebaseService.init().then(() => {
    FirbaseService.login(email, password).then((user) => {
        console.log('User has logged in: ', user);
    }).catch((error) => console.error('Could not log user in: ', error));
}).catch(error => console.error('Could not initialise firebase: ', error));