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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@applooma/rtc-vue

v0.1.2

Published

AppLooma RTC Vue SDK — composables and components for real-time voice, video and live streaming in Vue 3

Readme

@applooma/rtc-vue

AppLooma RTC for Vue 3: composables and a video component for real-time voice, video and live streaming. Built on @applooma/rtc-web; every type and event of the Web SDK is re-exported.

Install

npm install @applooma/rtc-vue

vue 3.3 or newer is a peer dependency.

Quick start

Get a join token from your server (never put your API secret in the browser), then:

<script setup lang="ts">
import { useAppEngine, useLocalTracks, AppVideoView } from '@applooma/rtc-vue';

const { engine, remoteUsers, connectionState, join, leave } = useAppEngine({ appId: 'YOUR_APP_ID' });
const { cameraOn, micOn, setCamera, setMicrophone } = useLocalTracks(engine, { camera: true, microphone: true });

async function start() {
  const { token, wsUrl } = await fetch('/api/rtc-token').then((r) => r.json());
  await join(token, wsUrl, { role: 'host', camera: true, microphone: true });
}
</script>

<template>
  <p>{{ connectionState }}</p>
  <button @click="start">Join</button>
  <button @click="leave">Leave</button>
  <button @click="setCamera(!cameraOn)">Camera</button>
  <button @click="setMicrophone(!micOn)">Mic</button>

  <AppVideoView :engine="engine" local style="width: 240px; height: 180px" />
  <AppVideoView v-for="u in remoteUsers" :key="u.uid" :track="u.videoTrack" style="width: 320px; height: 240px" />
</template>

API

| | | |---|---| | useAppEngine(config \| engine) | Creates (or wraps) an engine. Returns engine, reactive connectionState, remoteUsers, activeSpeakers, and join / leave. An engine it created leaves the channel when the component unmounts. | | useRemoteUsers(engine) | A reactive list of the other people in the channel. | | useLocalTracks(engine, initial?) | cameraOn, micOn, screenOn and setCamera, setMicrophone, setScreenShare, switchCamera. | | <AppVideoView> | Props: track (a remote AppTrack), or engine + local for your own preview; mirror (defaults to on for local), fit ('cover' or 'contain'). |

Remote audio plays automatically; nothing needs to be rendered for it.

Remote diagnostics

The engine is the Web SDK engine, so remote diagnostics work with no extra setup (Web SDK 0.4.6 or later): recent log lines and stats, never audio, video, messages or names, are uploaded scrubbed after a call with a problem or when support turns collection on. Call engine.uploadDiagnostics(reason) to send them yourself; opt out with remoteDiagnostics: false in the engine config.

Docs: https://applooma.dev/sdk/vue