1.0.0 • Published 1 year ago

autorepl-js v1.0.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
-
Last release
1 year ago

AutoRepl JS library

Frontend library to embed bots from AutoRepl.

Installation

To install, simply run:

npm install autorepl-js

Usage

It exposes 3 functions:

initContainer()
initPopup()
initBubble()

You can configure them directly in the "Share" tab of your bot.

Example:

import { initContainer } from 'autorepl-js'

const autorepl = initContainer('container-id', {
  publishId: 'my-app.com',
})