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

twitchdropsminer-cli

v0.6.2

Published

Headless CLI rewrite of DevilXD/TwitchDropsMiner for mining Twitch drops on servers.

Readme

TwitchDropsMiner-CLI

Headless, npm-installable CLI that mines Twitch Drops on a server. No browser, no video, no GPU.

Install

npm install -g twitchdropsminer-cli
tdm doctor

From GitHub:

npm install -g github:vocino/TwitchDropsMiner-CLI

From source:

git clone https://github.com/vocino/TwitchDropsMiner-CLI.git
cd TwitchDropsMiner-CLI
npm ci && npm run build
npx tdm doctor

Requires Node >=22.14.0.

Use

tdm auth login --no-open   # prints URL + code, enter on phone
tdm auth validate
tdm games                  # list games with active Drops
tdm games --add "Overwatch"
tdm run --verbose

Keep alive:

tdm service install --user --autostart
tdm service start
tdm logs --follow

Check progress:

tdm status
tdm drops
tdm history --summary

What this does

Inventory -> wanted games (priority) -> live channels per game -> pick channel -> minute-watched beacons to spade.twitch.tv -> PubSub + CurrentDrop in sync -> auto-claim 24h window. No video stream, ever.

Extra: calendar / optimize / simulate / rules for planning, hooks / export for homelab (ntfy, Discord, HA, Prometheus), watch for TUI.

Full docs in the wiki — that's the manual now.

Docs

All user docs live in the wiki: https://github.com/vocino/TwitchDropsMiner-CLI/wiki

  • Start here: https://github.com/vocino/TwitchDropsMiner-CLI/wiki/Getting-Started
  • Every command: https://github.com/vocino/TwitchDropsMiner-CLI/wiki/CLI-Reference
  • Config, Service, Observability, Troubleshooting, Architecture — all in the wiki sidebar.

This README stays minimal on purpose. If wiki and README disagree, wiki wins.

What's inside

src/cli/            commands (run, auth, status, config, games, doctor, service, history, metrics, drops, watch, hooks/export, calendar/optimize/simulate, rules)
src/core/           miner, watchLoop 59s tick, channelService, stateMachine, maintenance
src/integrations/   gqlClient, gqlOperations 11 ops, twitchPubSub pool 8*50->199, twitchSpade beacon
src/domain/         inventory chains, channel
src/config/         zod schema, XDG store 600
src/state/          authStore, deviceStore, sessionState
examples/           glance-tdm-widget.yml

Develop

npm test            # tsc + node --test dist/tests/index.js
npm run build

Wiki lives in its own git: https://github.com/vocino/TwitchDropsMiner-CLI.wiki.git (branch master). Edit it directly.

Credits

Original idea from DevilXD/TwitchDropsMiner. This is an independent TypeScript rewrite for headless server use — different codebase, same Drop-mining concept.

License MIT.