Feather Client Javascript Library
This library provides a convenient stateful interface to the Feather API for applications running in a Javascript client environment.
Have any questions? We're hanging out on Discord 👋
Install
$ npm install feather-client-js --save# or $ yarn add feather-client-js
Usage
The Feather package must be initialized with your project's API key, available on the Feather Dashboard. Include the API key when you require the package:
; const feather = ;
To listen for changes to the authentication state:
const unsubscribe = feather; ;
To sign in:
feather ;
To sign in anonymously:
feather ;
To sign out:
feather ;
Development
If you do not have yarn
installed, you can install it with npm install --global yarn
.
Run the tests:
$ yarn install$ yarn test