1.0.0 • Published 1 year ago
autorepl-js v1.0.0
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',
})
1.0.0
1 year ago