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

openteams-react-viewer

v1.1.1

Published

React component and hooks for OpenTeams, the open-source bring-your-own-server team workspace (sync protocol 1). Self-contained: includes the <teams-app> UI.

Readme

openteams-react-viewer

React binding for OpenTeams, an open-source, bring-your-own-server team workspace: channels and chat, presence, meetings with video and screen share (WebRTC), and Office files shared in the conversation. It gives you the complete UI as a component and raw hooks to build your own.

Source | Server

Part of ooxml: Office · Word · Excel · PowerPoint · Visio · OpenTeams · Core

Install

npm install openteams-react-viewer

react (18 or later) is a peer dependency. The <teams-app> element is bundled in; the workspace logic comes from ooxml-core (ooxml-core/teams) and the visual primitives from ooxml-ui, both installed as regular dependencies, together with lit.

Use

The full UI (give it a height):

import { Teams } from 'openteams-react-viewer';

<Teams
	workspaceId="acme"
	userName="Ada"
	config={{
		mode: 'server',
		syncUrl: 'wss://teams.example.com/sync',
		signalingUrl: 'wss://teams.example.com/signal',
	}}
	onOpenFile={(detail) => window.open(detail.url)}
/>;

Or your own markup over the raw client (state in, plain actions out):

import { useTeams } from 'openteams-react-viewer';

const { client, state } = useTeams({
	workspaceId: 'acme',
	user: { id: 'ada', name: 'Ada' },
	config,
});
state?.channels.map((c) => <button onClick={() => client?.select(c.id)}>{c.name}</button>);

Without config the workspace runs in local mode (tabs of one browser share state over BroadcastChannel). For more than one machine, run openteams-server or any server that speaks the same three small contracts.

Honest limits

This is not Microsoft Teams and is not affiliated with Microsoft. There is no end-to-end encryption: your server can read chat. Mesh calls scale to about a dozen people, and authorization is the server's job. Use one OpenTeams binding per page: each registers the same custom elements.

Licence: Apache-2.0.

OneDrive integration

Use the optional shared ooxml-core/embedding/onedrive connection with host-supplied Microsoft sign-in. See the Office package and integration reference for this product's load/save API, native storage wiring, sharing permissions and conflict recovery. The testing guide separates test-local transports from live Microsoft acceptance. No simulation service is shipped; OneDrive storage does not provide Microsoft Office coauthoring or automatic document merging.

Privacy and network use

Chat, presence and session data go only to the syncUrl and signalingUrl you configure; local mode stays in the browser. Calls use Google's public STUN server (stun:stun.l.google.com:19302) unless you set iceServers to your own STUN/TURN servers (or []), and website tabs load the URL a member added. Nothing collects analytics or telemetry. See PRIVACY.md.