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

@kromatv/installer

v0.1.39

Published

Finds the Samsung, LG and Android TV sets on your network and installs KROMA on them, from the latest release.

Readme

@kromatv/installer

Install KROMA on the TVs on your network, from a Mac, a Windows PC or a Linux computer:

npx @kromatv/installer

The command asks which version of KROMA and which kind of TV you have: Samsung, LG or Android TV. It shows what to do once on the TV, then finds those TVs on your network. It downloads the KROMA app for each one from the latest release, and installs it on the TVs you tick.

To update KROMA later, on every TV you installed it on:

npx @kromatv/installer update

The installer keeps the list of those TVs, so this command asks nothing.

Which KROMA app it installs

On a Samsung TV from 2021 or later and on an LG TV from 2018 or later, the installer puts the native KROMA app: a .tpk on Samsung, an .ipk on LG. It runs on the TV directly, with no browser.

A Samsung TV from 2017 to 2020 cannot run the native app. On those TVs, the installer puts the web app, a .wgt, and says why.

To install the web app on any Samsung or LG TV, install by the address of the TV with --web: npx @kromatv/installer install TV_ADDRESS --web. The installer remembers it for that TV, and update keeps it. To go back to the native app, use --no-web the same way.

Before you begin

  • Node.js 22.12 or later, on macOS, Windows or Linux.
  • The computer and the TV on the same network.
  • One step on the TV itself. It is done once, and no tool can do it over the network:

| TV | What to do once | Guide | | --- | --- | --- | | Samsung | Turn on developer mode. The first install opens Samsung's sign-in in your browser, to get the certificate of the TV | Samsung TV | | LG | Install the Dev Mode app, turn on Dev Mode and its key server | LG TV | | Android TV, Google TV | Turn on Wireless debugging or Network debugging in the developer options | Android TV | | Apple TV | Nothing to do here: KROMA for Apple TV comes from TestFlight | Apple TV |

What it puts on your computer

  • For a Samsung TV, no tool. On the first install, the installer asks Samsung for the certificate of your TV, once you sign in to your Samsung account. It keeps the certificate in ~/.kroma/certificates/samsung, signs the app with it and sends it to the TV itself. Tizen Studio is not needed.
  • For an LG TV, no tool. On the first install, the installer asks for the passphrase that the Dev Mode app shows, and gets the key of your TV with it. It keeps the key in ~/.kroma/keys/webos, readable by you alone, and sends the app to the TV itself. LG's command-line tools are not needed.
  • For an Android TV, no tool: the installer talks to the TV itself. It keeps the key the TV is asked to trust in ~/.kroma/adb. A TV with Wireless debugging shows a pairing code, which the installer asks for once.
  • The KROMA apps it downloads, in ~/.kroma/downloads. Each download is checked against the SHA-256 that the release lists.
  • The list of the TVs it installed KROMA on, in ~/.kroma/televisions.json: the address of each TV and what was installed on it. update reads this list.

Commands

| command | what it does | | --- | --- | | npx @kromatv/installer | Find the televisions on this network and put KROMA on them. With no command it opens the picker. | | npx @kromatv/installer scan | List what answered and stop, the picker without the picking. | | npx @kromatv/installer install <target> | Put KROMA on one set, or on all of them, without the picker. | | npx @kromatv/installer update | Put the newest KROMA on every set this computer installed it on, asking nothing. | | npx @kromatv/installer probe <host> | Ask a Samsung set what it is over sdb, installing nothing. | | npx @kromatv/installer certificate <host> | Get Samsung's certificates for a set: sign in to Samsung once, and every install signs with them. |

| option | what it does | | --- | --- | | --host <ip> | Probe this address instead of sweeping the network, repeatable | | --package <path> | The .tpk, .ipk, .apk or .app to install, instead of the newest built here | | --source <local\|stable\|canary\|build> | Where the package comes from, instead of the newest build in this checkout | | --launch, --no-launch | Start the app once it is installed | | --json | Print what answered as JSON |

--source canary installs the newest development build instead of the latest release.

Troubleshooting

The scan finds no TV

On macOS, the terminal needs the Local Network permission: System Settings > Privacy & Security > Local Network. Without it, every connection fails and the scan finds nothing.

A TV also stays hidden until its one-time step is done: an LG without the Dev Mode app running and an Android TV without debugging turned on do not answer.

A Samsung TV refuses the certificate

The app must be signed with a certificate that Samsung issued for that TV. The installer gets one on the first install. To get one again, run npx @kromatv/installer certificate TV_ADDRESS, where TV_ADDRESS is the address of the TV, and sign in to your Samsung account when the browser opens.

Author certificate not match

A KROMA signed with another certificate is already on the TV. Delete it: in Apps, hold the select button on the KROMA tile, then choose Delete. Install again.

A Samsung TV runs an older Tizen than this KROMA needs

The version of KROMA you chose asks for a newer Tizen than the TV runs. Choose Canary when the installer asks which version, or install with --source canary.

A Samsung TV from 2020 or earlier refuses the app

The installer could not find the year of the TV, so it sent the native app, which these TVs cannot run. Install again with --web.

An LG TV refuses the key

The TV no longer takes the key the installer kept from an earlier install. Turn on Key Server in the Dev Mode app, then install again with --passphrase and the passphrase that the app shows now. The installer gets the key again.

GitHub did not list the stable release

The computer has no connection to GitHub, or it has used the 60 requests that GitHub allows each hour without an account. Wait, or download the app from kroma.tv/download and pass it with --package.

More answers are in the package notes.