Gathering detailed insights and metrics for @pierrad/pubnub-react-chat-components
Gathering detailed insights and metrics for @pierrad/pubnub-react-chat-components
npm install @pierrad/pubnub-react-chat-components
Typescript
Module System
Node Version
NPM Version
62.3
Supply Chain
91
Quality
71.4
Maintenance
25
Vulnerability
97.9
License
TypeScript (83.19%)
SCSS (12.59%)
JavaScript (3.83%)
CSS (0.25%)
HTML (0.09%)
Shell (0.05%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
2,723
Last Day
2
Last Week
9
Last Month
47
Last Year
277
181 Stars
450 Commits
61 Forks
14 Watching
22 Branches
76 Contributors
Minified
Minified + Gzipped
Latest Version
0.2.11
Package Id
@pierrad/pubnub-react-chat-components@0.2.11
Unpacked Size
1.92 MB
Size
372.01 kB
File Count
31
NPM Version
6.12.0
Node Version
12.13.0
Publised On
13 Apr 2023
Cumulative downloads
Total Downloads
Last day
-50%
2
Compared to previous day
Last week
-67.9%
9
Compared to previous week
Last month
4,600%
47
Compared to previous month
Last year
-74.7%
277
Compared to previous year
4
36
PubNub's Chat Components library provides easy-to-use components to build chat applications using PubNub Chat on the React Framework. Our component library is the fastest way to add chat features like direct and group messaging, typing indicators, reactions and more without going through the complexity of low-level architecture of realtime networks. At the same time it allows you to create apps for various use cases, with different functionalities and customizable looks.
Sign in or create an account to create an app on the Admin Portal and get the keys to use in your application.
When you create a new app, the first set of keys is generated automatically, but a single app can have as many keysets as you like. We recommend that you create separate keysets for production and test environments.
Some of the functionalities you might want to enable on your keyset depending on the use-case include Presence, Storage & Playback (including correct Renention) and Objects (be sure to select a geographical region corresponding to most users of your application).
Start with exploring our Sample Apps that are built using chat components. Follow the steps below to run the apps locally in your own environment.
1git clone git@github.com:pubnub/react-chat-components.git
samples
folder and install the dependencies:1cd react-chat-components/samples 2npm install
pubnub-keys.json
:1vi pubnub-keys.json
1npm start
Install the components and all required dependencies using npm:
1npm install --save pubnub pubnub-react @pubnub/react-chat-components
1import PubNub from "pubnub"; 2import { PubNubProvider } from "pubnub-react"; 3import { 4 Chat, 5 MessageList, 6 MessageInput, 7 ChannelList, 8 MemberList, 9} from "@pubnub/react-chat-components";
1const pubnub = new PubNub({ 2 publishKey: "myPublishKey", 3 subscribeKey: "mySubscribeKey", 4 uuid: "myUniqueUUID", 5}); 6const currentChannel = "myCurrentChannel"; 7const theme = "light";
1const MyComponent = () => { 2 return <PubNubProvider client={pubnub}></PubNubProvider>; 3};
1const MyComponent = () => { 2 return ( 3 <PubNubProvider client={pubnub}> 4 <Chat {...{ currentChannel, theme }}> 5 <MessageList /> 6 <MessageInput /> 7 </Chat> 8 </PubNubProvider> 9 ); 10};
samples
folder in the repository root.No vulnerabilities found.
Reason
all changesets reviewed
Reason
no binaries found in the repo
Reason
4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dangerous workflow patterns detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
23 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-05-20
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More