Package Exports
- @firebase/auth
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@firebase/auth) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@firebase/auth
This is the authentication component for the Firebase JS SDK. It has a peer
dependency on the @firebase/app
package on NPM. This package
is included by default in the firebase
wrapper
package.
Installation
You can install this package by running the following in your project:
$ npm install @firebase/auth
Usage
You can then use the firebase namespace exposed by this package as illustrated below:
ES Modules
import firebase from '@firebase/app';
import '@firebase/auth'
// Do stuff w/ `firebase` and `firebase.auth`
CommonJS Modules
const firebase = require('@firebase/app').default;
require('@firebase/auth');
// Do stuff with `firebase` and `firebase.auth`
Documentation
For comprehensive documentation please see the Firebase Reference Docs.