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

meetbox-sgn

v0.1.7

Published

The WebRTC library.

Readme

MeetBox

The WebRTC library.

Status

Currently, this library is in testing phase. Please come back soon, to check again the status.

Overview

MeetBox is a JavaScript library, that provides audio and video communication functionality, supported by WebRTC technology available in all modern browsers.

MeetBox helps to integrate simple audio and video functionality with your web page, with minimum effort and cost, just to verify whether this technology will be adopted by your customers. In case the prototyping phase using MeetBox was a success, more matured solutions may be adopted to your needs.

MeetBox does not aim to be a replacement for such products like:

  • Microsoft Teams,
  • Google Meet,
  • Zoom,
  • ...and many others.

Introduction

Current version of MeetBox allows establishing audio and video communication channel in peer-to-peer mode, between two participants (no group meetings). One participant (called meeting's owner) opens a new meeting, and the other one (called meeting's client) just joins it. As simply as that.

The basic scenario looks like this:

  1. Meeting's owner opens a new meeting.
  2. Meeting's owner sends the meeting's identifier to meeting's client.
  3. Meeting's client, having a meeting's identifier, joins the meeting.
  4. Both parties communicate using audio and/or video channel.
  5. When the meeting is over, each participant may close it.
  6. After closing, the meeting's identifier is invalidated and useless.

MeetBox supports all steps in this scenario, EXCEPT STEP 2. Sending meeting's identifier from meeting's owner to meeting's client is out of scope of this library. Sending meeting's identifier must be implemented in secured way by your application.

Installation

Using npm:

$ npm i --save meetbox

Dependencies

MeetBox requires the following external services to operate:

Accounts in these services are required to use MeetBox. There are free and commercial plans available, details may be found here:

For prototyping purposes, free plans are sufficient.

Usage

MeetBox initialization in web page

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>MeetBox</title>
    <script src="https://unpkg.com/[email protected]"></script>
  </head>
  <body>
    <!-- prepare a container to inject MeetBox -->
    <div id="my-meetbox-container-identifier"></div>
    <script>
      // prepare configuration
      let configuration = {
        trace: false, // log tracing messages?
        pubNub: {
          publishKey: 'your-publish-key-acquired-from-PubNub',
          subscribeKey: 'your-subscribe-key-acquired-from-PubNub',
        },
        xirSys: {
          apiPath: 'https://global.xirsys.net',
          channel: 'your-channel-name-acquired-from-XirSys',
          ident: 'your-identifier-acquired-from-XirSys',
          secret: 'your-secret-key-acquired-from-XirSys',
        }
      };
      // initialize MeetBox
      window.meetbox.init('my-meetbox-container-identifier', configuration);
    </script>
  </body>
</html>

Opening a meeting by meeting's owner

To immediately open a new meeting, the meeting's owner calls openMeeting function, and acquires the meeting's identifier.

// open a new meeting, somwhere in your application
const meetingId = window.meetbox.openMeeting();

Sending a meeting's identifier between owner and client

Meeting's owner has to send the meeting's identifier to meeting's client, somehow. It is up to you (or your application) how it is done. Sending identifiers between participants is out of scope of this library.

Joining a meeting by meeting's client

Meeting's client, having the meeting's identifier, may join an opened meeting, just by passing the meeting's identifier to joinMeeting function:

// join an opened meeting, somewhere in your application
window.meetbox.joinMeeting(meetingId);

MeetBox API

MeetBox methods:

  • init
  • openMeeting
  • joinMeeting
  • closeMeeting
  • setOnClose

Documentation

Milestones

  1. Codebase refactoring, stabilisation and intensive testing (approx. end of June 2021).
  2. Custom implementation of signalling as an alternative for PubNub (approx. end of May 2021).
  3. Integration with coturn as an alternative for XirSys (approx. end of July 2021).
  4. Any requirements from community and users...

License

This library is distributed under MIT https://opensource.org/licenses/MIT.

This library includes icons from the Font Awesome project, taken from SVG formatted assets from the 'Free' download version. These components are applicable to the CC BY 4.0 license (which applies to all Font Awesome icons packaged as .svg and .js file types). Original .svg icons are modified by removing not used attributes from SVG element.