@angoralabs/angora-js

0.4.1 • Public • Published

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

/@angoralabs/angora-js/

    Package Sidebar

    Install

    npm i @angoralabs/angora-js

    Weekly Downloads

    0

    Version

    0.4.1

    License

    MIT

    Unpacked Size

    89.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • jgcmarins