@angoralabs/angora-js

Angora SDK JavaScript

Usage no npm install needed!

<script type="module">
  import angoralabsAngoraJs from 'https://cdn.skypack.dev/@angoralabs/angora-js';
</script>

README

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