npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

connect-irl

v2.0.1

Published

A library made for developers to video chat & call on their website

Readme

Connect-IRL

Connect-IRL is a React SDK that makes it easy to integrate real-time video calling and chat functionality into your web applications. With Connect-IRL, you can quickly build applications where users can connect and communicate—just supply a room ID and a developer-provided user ID, and let our signaling server (hosted at https://real-olive.vercel.app) handle the rest.

Features

  • Video Calling: Peer-to-peer video calls powered by WebRTC and SimplePeer.
  • Real-Time Chat: Integrated chat functionality using Socket.IO.
  • Easy Integration: Pre-built React components (SDKVideoCall and SDKChat) that work out-of-the-box.
  • Centralized Signaling: All signaling (offer/answer negotiation, ICE candidates) is managed through our dedicated signaling server.

Installation

Install Connect-IRL via npm:

npm install connect-irl

Getting Started

Initialization

Before using any of the SDK components, initialize the SDK. The signaling server is preconfigured to use https://real-olive.vercel.app.

import { initSDK } from 'connect-irl';

Using the Components Connect-IRL exports two main components: SDKVideoCall and SDKChat. Both components expect a roomId and a developer-supplied userId (which maps internally to the component’s userName prop).

Here’s an example of how to use them in a React application:

import { Chat, VideoCall } from 'connect-irl';

const roomId = 'example-room';
const userName = 'User1';

const chat = new Chat(roomId, userName);
chat.connect();
chat.sendMessage('Hello!');

navigator.mediaDevices.getUserMedia({ video: true, audio: true }).then((stream) => {
  const videoCall = new VideoCall(roomId, userName, stream);
  videoCall.init();
});

API Reference

ns.

VideoCall

A React component for video calling. Props:

roomId (string): Unique identifier for the video call room.
userName (string): username given by client.

Additional props are forwarded to the underlying VideoCall component.

SDKChat

A React component for real-time chat.

Props:

roomId (string): Unique identifier for the chat room.
userName (string): User supplied userName.

Additional props are forwarded to the underlying Chat component.

Signaling Server

All video call signaling and chat messages are routed through our centralized signaling server at https://real-olive.vercel.app. Ensure that your client applications can access this endpoint for proper functionality.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.