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

open-media-player

v0.3.3

Published

Access thousands of music tracks, movies, images from the Internet Archive and Wikimedia.

Downloads

711

Readme

Open Media Player

Two web components with curated media libraries:

  • <ia-player> — browse, search, and play audio and video collections from the Internet Archive (Music, Spoken Word, and Movies libraries ship in this package).
  • <omp-images> — browse curated Wikimedia Commons image galleries.

Reading works logged out. The components are Solid-aware: with a Solid login (via sol-login) owners can favourite, edit playlists/genres/topics, and install the whole player onto their own pod.

Try it

The read-only web app is this repo's index.html, deployed at https://jeff-zucker.github.io/open-media-player/.

Local development:

npm install
npm run build     # esbuild → dist/ia-player.esm.js
npm test          # node --test tests/
npm run serve     # http://localhost:8082/ (serves .ttl as text/turtle)

Using the components in your own page

The package is loaded through component-interop alongside sol-components, which supplies the shared Solid stack (rdflib, solid-logic, solid-ui) and the sol-* elements the player renders into:

<script src="https://cdn.jsdelivr.net/npm/[email protected]/component-interop.js"
        data-stage="local"
        data-manifest="https://cdn.jsdelivr.net/npm/sol-components@2/dist/sol-components.manifest.json
                       https://cdn.jsdelivr.net/npm/open-media-player@0/omp.manifest.json"
        data-components="sol-basic sol-gallery sol-login ia-player"></script>
...
<ia-player storage-ns="music"
           source="https://cdn.jsdelivr.net/npm/open-media-player@0/libraries/internet_archive_music/index.ttl">
</ia-player>

The single bundle (dist/ia-player.esm.js) defines both <ia-player> and <omp-images>. rdflib stays external — the loader's importmap resolves it to the one shared instance. See index.html here for a complete page (tabbed shell from ui-data/omp-tabs.ttl, mini player, login).

Layout

  • src/ia-player/, src/omp-images/, src/shared/ — component sources.
  • libraries/ — the curated library documents (Turtle): per-library index / genres / agents / playlists / releases.
  • shapes/ — SHACL shapes for the library data (.shaclc files are generated from .shacl, never hand-edited).
  • ui-data/ — the demo page's tabset and settings documents.
  • demo/ — page-level glue for index.html (mini-player controller, page CSS).
  • dist/ — committed build artifact (served by GitHub Pages and the CDN).

Provenance

Extracted from data-kitchen, where this player grew up; that repo holds the pre-extraction history.

MIT © Jeff Zucker