Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@channel.io/channel-web-sdk-loader

channel-io67kApache-2.02.0.0TypeScript support: included

Official Channel Web SDK Loader

crm, customer relationship management, channel, channel.io, channel-talk, channeltalk, channel talk, channel web sdk, channel web sdk loader, channel js sdk, channel javascript sdk, channel javascript sdk loader, live chat, livechat, live-chat, chatbot, chat bot, messenger, chat application, marketing, customer support, branding, chat, 채널톡, 채널

readme

<picture> <source media="(prefers-color-scheme: dark)" srcset="./images/Channel.io_Logo_White.svg"> <source media="(prefers-color-scheme: light)" srcset="./images/Channel.io_Logo_Color.svg"> Channel Talk </picture>

channel-web-sdk-loader

npm NPM npm minzip

The Official Channel SDK Loader for Web

Installation

NPM

npm install @channel.io/channel-web-sdk-loader

Yarn

yarn add @channel.io/channel-web-sdk-loader

PNPM

pnpm install @channel.io/channel-web-sdk-loader

Usage

⚠️ Note: This SDK is designed for client-side use only and should not be invoked on the server-side.

Step1: Import the ChannelService Module

import * as ChannelService from '@channel.io/channel-web-sdk-loader';

Step2: Load the Channel Web SDK

ChannelService.loadScript()

Step3: Initialize the Channel Web SDK

ChannelService.boot({
  pluginKey: 'YOUR_PLUGIN_KEY'
})

API Documentation

Playground