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

@true-vroom/react

v0.1.0

Published

React UI components and hooks for Vroom SDK

Downloads

96

Readme

@true-vroom/react

React UI components, hooks, and prefabricated layouts for building real-time audio/video experiences on top of @true-vroom/client-js.

Installation

npm install @true-vroom/react @true-vroom/client-js

Quick start

import { Vroom } from '@true-vroom/client-js'
import { VroomProvider, VideoCall } from '@true-vroom/react'
import '@true-vroom/react/styles'

await Vroom.init({ apiKey: '...' })

function App() {
  return (
    <VroomProvider theme="dark">
      <VideoCall
        connectParams={{
          roomName: 'demo',
          user: { id: 'u1', displayName: 'Me', role: 'member' },
          type: 'p2p',
          media: { audio: true, video: true },
        }}
        chat={true}
        layout="side-by-side"
      />
    </VroomProvider>
  )
}

Features

  • ProvidersVroomProvider, SessionProvider, ChatProvider
  • Hooks — session, participants, tracks, media (mic/camera/devices), services (recording, stats), and chat (useChat, useChatTyping, useChatUnread, useChatModeration, useChatActive)
  • Components — track renderers, participant tiles, layouts (Duo), controls (Mic/Camera/Speaker/Disconnect/Chat toggles, ControlBar), indicators (timer, recording, network quality, connection state), and chat (ChatPanel, ChatMessageList, ChatInput, ChatTypingIndicator, ChatMessage)
  • Prefabs — drop-in VideoCall 1-on-1 UI with optional chat side-panel (chat={true})
  • Themesdark, light, neutral

Development

Setup

  1. Clone this repository and install dependencies with pnpm install.
  2. Ensure a local checkout of vroom-sdk-client-js resides alongside this repository. The TypeScript configuration maps @true-vroom/client-js to ../vroom-sdk-client-js/src for development until the SDK is published.

Once @true-vroom/client-js is available on npm, remove the path mapping and install the dependency via:

pnpm add @true-vroom/client-js@^0.1.0 @true-vroom/react

Scripts

  • pnpm dev – Watch build for active development.
  • pnpm build – Generate production bundles (CommonJS, ESM, and types).
  • pnpm lint – Run ESLint across the src directory.
  • pnpm typecheck – Verify TypeScript types via tsc --noEmit.
  • pnpm test – Execute the unit test suite with Vitest.
  • pnpm clean – Remove the dist output directory.

Directory structure

  • src/ – Component implementations, hooks, providers, and prefabs exported by the package.
  • dist/ – Build artifacts generated by pnpm build (not checked into the repo).
  • examples/ – Vite playgrounds that resolve directly to the local source.
  • docs/ – Additional design notes and deep-dive documentation (optional reading for contributors).

Examples

Standalone playgrounds live under examples/. See examples/README.md for setup instructions and project details.

Contributing

  1. Create a feature branch and ensure your changes pass pnpm lint, pnpm typecheck, and pnpm test.
  2. Provide context in your pull request, especially if the change depends on updates in @true-vroom/client-js.
  3. Keep documentation up to date when public APIs evolve.

License

This project is licensed under the MIT License. See the LICENSE file (coming soon) for full details.