0.4.1 • Published 4 years ago

@angoralabs/angora-js v0.4.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Angora

JavaScript SDK

Installation

npm install @angoralabs/angora-js

or

yarn add @angoralabs/angora-js

Usage

init

At the index.js, import angora from @angoralabs/angora-js and call the init function.

import React from 'react';
import ReactDOM from 'react-dom';
import angora from '@angoralabs/angora-js';

import App from './App';

angora.init(
  'OGIyZTJmNGEtMzc4OS01NGE3LTg4ZTctZGJjMmVkZDU1MjdjOjIxODE4NzhmOGExNWEyM2YxOTI4MzFiMGEwYzRjZmUzZDFhNjIxNDM=',
);

ReactDOM.createRoot(document.getElementById('root')).render(<App />);

The init function expects the token, which is your app key and can be found on the integration session.

Contributing

Not available yet.

License

MIT

0.4.1

4 years ago

0.4.0

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago