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

@winwithpickr/verify

v0.1.1

Published

Independently verify winwithpickr giveaway results

Readme

@winwithpickr/verify

Independently verify any @winwithpickr giveaway result from your terminal.

Same algorithm that runs on the server and in the browser verification page — single source of truth, zero trust required.

Usage

npx @winwithpickr/verify \
  --seed <64-char-hex> \
  --pool <id,id,...> \
  --winners <n> \
  --expected-hash <hash>

The seed, pool IDs, and pool hash are all available on the giveaway's verification page (linked from every result tweet).

Example

npx @winwithpickr/verify \
  --seed aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \
  --pool 111,222,333,444,555 \
  --winners 2 \
  --expected-hash aa6e12495e487da59aea17fa4be1654953ccfdc6d1c6cf9280a1c61411e3a01d
── Pickr Verification ──

Seed:        aaaaaaaaaa...
Pool size:   5
Pool hash:   aa6e12495e487da59aea17fa4be1654953ccfdc6d1c6cf9280a1c61411e3a01d
Winners:     111, 333

Expected:    aa6e12495e487da59aea17fa4be1654953ccfdc6d1c6cf9280a1c61411e3a01d
Match:       YES

Exits with code 0 on match, 1 on mismatch.

Options

| Flag | Required | Description | |---|---|---| | --seed | Yes | 64-character hex seed from the result page | | --pool | Yes | Comma-separated X user IDs (sorted, from the result page) | | --winners | No | Number of winners (default: 1) | | --expected-hash | No | Pool hash to verify against — exits 1 on mismatch | | --help | No | Show usage |

How it works

  1. The pool IDs are sorted lexicographically and hashed with SHA-256 to produce the pool hash
  2. The first 8 bytes of the hex seed initialize a java.util.Random-compatible LCG
  3. A Fisher-Yates shuffle is run over the pool using that LCG
  4. The first N entries of the shuffled pool are the winners

This is the exact same algorithm used by the winwithpickr service. The implementation lives in pickr-core (Kotlin Multiplatform, MIT licensed) — the JVM server, browser verification page, and this CLI all compile from the same source.

Also available as

  • Java JARjava -jar pickr-verify.jar — download from GitHub Releases
  • Browser — every result tweet links to a verification page that runs this check client-side
  • Kotlin librarySeededRandom.shuffle(pool, seed) via Maven/Gradle

License

MIT