2.2.17 • Published 2 years ago
ryen-js v2.2.17
⚠️ This library is deprecated in favor of
@ryen/js
and@ryen/react
Ryen JS library
Frontend library to embed bots from Ryen.
Installation
To install, simply run:
npm install ryen-js
Usage
It exposes 3 functions:
initContainer()
initPopup()
initBubble()
You can configure them directly in the "Share" tab of your Ryen.
Example:
import { initContainer } from 'ryen-js'
const plausible = initContainer('container-id', {
publishId: 'my-app.com',
})