Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Channel Web SDK Loader for web

  • 0.4.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10K
decreased by-21.74%
Maintainers
5
Weekly downloads
 
Created
Source

channel-web-sdk-loader

npm NPM npm

Official Channel Web SDK Loader

  • Official SDK Docs
  • TypeDoc

Install

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

Usage

⚠️ Use the SDK on client-side only. You can’t execute the SDK beforehand on the server-side.

Step1: Import ChannelService

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

Step2: Load Channel Web SDK

ChannelService.loadScript()

Step3: Initialize Channel Web SDK

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

@see https://developers.channel.io/docs/sdk#get-a-plugin-key

API References

Keywords

FAQs

Package last updated on 29 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc