Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@cometchat-pro/chat

Package Overview
Dependencies
Maintainers
6
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cometchat-pro/chat

A complete chat solution.

Source
npmnpm
Version
2.1.0-beta1
Version published
Weekly downloads
1.7K
-23.22%
Maintainers
6
Weekly downloads
 
Created
Source



CometChat Pro enables you to add voice, video & text chat for your website & app.

Platform Platform

Quick Start

This guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the Key Concepts guide.

Get your Application Keys

Signup for CometChat and then:

  • Create a new app: Enter a name & hit the + button
  • Head over to the API Keys section and click on the Create API Key button
  • Enter a name and select the scope as Auth Only
  • Now note the API Key and App ID

Add the CometChat Dependency

NPM

First, install via npm

npm install @cometchat-pro/chat@2.0.7 --save

Then, import the CometChat object wherever you want to use CometChat

import { CometChat } from "@cometchat-pro/chat" 

HTML (via CDN)

Include the CometChat Javascript library in your HTML code

<script type="text/javascript" src="https://unpkg.com/@cometchat-pro/chat@2.0.7/CometChat.js"></script>

To learn more, please refer to our Documentation: Documentation

Keywords

CometChat

FAQs

Package last updated on 28 Apr 2020

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