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

@mattebox/player-360

v0.3.0

Published

360° video in <mattebox-player>: the picture drawn on the inside of a sphere, turned by a drag, the wheel, a game controller or the device's motion, and shown in a WebXR headset or split in two for a phone in a viewer.

Readme

360° video for the Mattebox player: the picture is drawn onto the inside of a sphere, and the viewer looks around.

  • A drag turns the view, the wheel zooms, and a game controller's right stick turns it.
  • The W, A, S and D keys turn it too, by their place on the keyboard.
  • On a phone or a tablet, the view turns with the device, unless the system asks for reduced motion.
  • <mbx-motion-button> lets the viewer turn the device's motion on or off. motion="on" or "off" sets where it starts.
  • <mbx-vr-button> shows the view in a WebXR headset. It is hidden without one.
  • headset="webxr stereo" adds a split screen for a phone in a viewer, where the browser has no WebXR. An iPhone gets neither.
  • A frame that holds a picture for each eye shows each eye its own in a headset: the source's framePacking, or the stream's.
  • A tap plays or pauses, as on a flat video.
  • The source says it is 360°: your connector, or HLS REQ-VIDEO-LAYOUT.
  • WebGL 1 only, down to Chromium 76.
  • An encrypted source plays flat: no browser lets a page draw a DRM picture.
npm install @mattebox/player-360 @mattebox/player mattebox
<mattebox-player src="https://example.com/vod/360/master.m3u8" controls="custom">
  <mbx-360 projection="equirectangular"></mbx-360>
  <mbx-control-bar>
    <mbx-play-button></mbx-play-button>
    <mbx-seek-bar></mbx-seek-bar>
  </mbx-control-bar>
</mattebox-player>

<script type="module">
  import '@mattebox/player';
  import '@mattebox/player-360';
</script>

The guide chapter lists the attributes, the properties and the limits.

License

MIT