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

scz-tv

v1.1.0

Published

TV interface for streamingcommunityz.tech with full remote control + popup blocking

Readme

StreamingCommunityZ TV

TizenBrew mods module: turns streamingcommunityz.tech into a TV interface with D-pad remote navigation and player popup blocking. Runs on Samsung Tizen TVs via TizenBrew.

What it does

  • D-pad navigation — arrows move a focus highlight between cards / buttons, OK clicks, BACK goes back.
  • Spatial focus — geometric nearest-element-in-direction (no site cooperation needed).
  • Popup blocking — kills window.open, blocks target="_blank" + cross-host ad links, sweeps overlay/ad nodes, bounces forced redirects.
  • Player popup fix — the popunder fires on the first click over the player: a transparent overlay / anchor stacked above the vixcloud iframe swallows that click and opens the ad. We locate the player iframe and remove that click-catcher (CONFIG.blockPlayerOverlays). We do not sandbox the player: vixcloud has anti-sandbox security and refuses to play inside a sandboxed iframe (CONFIG.sandboxPlayer is false and should stay off).
  • Recovery mode — if init fails repeatedly, removes all modifications so the site stays usable.

Site structure (analyzed live)

  • Vue + scoped styles. Root #app.
  • Cards: .slider-item > a[href*="/it/titles/{id}-{slug}"], cover img.cover-image.
  • Play: a.play[href="/it/watch/{id}"] ("Riproduci"), grid buttons .play-btn / .play-wrap.
  • Player chain: /it/watch/{id} → same-origin iframe /it/iframe/{id}cross-origin vixcloud.co/embed<video>.
  • Because the <video> lives in a cross-origin iframe, parent-page JS cannot control playback or read inside it. Remote media keys are therefore passed through to the focused iframe (native player handles them).

Tizen / Chromium 47 constraint

The Tizen TV browser is Chromium 47, ES5 only. index.js is plain ES5 on purpose: no arrow functions, no let/const, no template strings, no export. Keep it that way.

Install / run on TV

Requires TizenBrew already installed on the TV.

  1. Publish this package to npm:
    npm login
    npm publish --access public
  2. On the TV: open TizenBrew → MarketPlace / Add module → enter tizenbrew-streamingcommunityz-tv.
  3. TizenBrew opens websiteURL and injects index.js.
  4. Test the remote: arrows navigate, OK clicks, BACK returns.

Iterate fast (without publishing each time)

Test the logic in desktop Chrome first — see test/desktop-test.md. Then bump + publish:

npm version patch && npm publish

Config

Edit the CONFIG block at the top of index.js:

| Key | Purpose | |-----|---------| | blockPlayerOverlays | true = remove the transparent click-catcher over the player that opens the popunder on play. Keeps vix working. | | sandboxPlayer | Keep false. vixcloud refuses to play sandboxed. Only flip on if you accept losing playback for a hard popup block. | | focusColor / focusSize | Focus highlight style. | | hideSelectors | CSS-hidden junk (ads, cookie banners, modals). | | extraFocusable | Non-<a>/<button> clickable selectors specific to this site. |

Known limits

  • The popunder is blocked by removing the overlay click-catcher above the player. If the ad network changes its overlay shape, update killPlayerOverlays() (it targets anchors / external links / empty overlays stacked over the player center).
  • A forced top-redirect to an ad domain is caught by the redirect-bounce (window.history.back).
  • Media keys (play/pause/seek) can't drive the cross-origin <video>; focus the player and use its own on-screen controls via the D-pad.