2
0
Files
bot/packages/typebot-js
Baptiste Arnaud 04d206eab1 ⬆️ Upgrade dependencies
2023-01-21 13:24:23 +01:00
..
2022-03-10 17:47:59 +01:00
2022-10-11 08:57:37 +02:00
2023-01-03 10:08:11 +01:00
2022-11-21 11:18:58 +01:00
2022-11-21 11:18:58 +01:00
2022-10-11 08:57:37 +02:00
2022-03-10 17:47:59 +01:00
2023-01-21 13:24:23 +01:00
2022-08-10 18:49:06 +02:00
2022-11-21 11:18:58 +01:00
2022-11-21 11:18:58 +01:00

Typebot JS library

Frontend library to embed typebots from Typebot.

Installation

To install, simply run:

npm install typebot-js

Usage

It exposes 3 functions:

initContainer()
initPopup()
initBubble()

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

Example:

import { initContainer } from 'typebot-js'

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