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

powerball-quantum

v1.0.0

Published

Powerball number predictor using quantum-inspired algorithm with momentum, mean reversion, and statistical filters

Readme

powerball-quantum

Powerball number predictor using quantum-inspired algorithm with momentum, mean reversion, and statistical filters.

Installation

npm install powerball-quantum

CLI Usage

# Get 5 recommended picks
npx powerball-quantum predict

# Get 10 picks with analysis
npx powerball-quantum predict -c 10 -a

# Quick single pick
npx powerball-quantum quick

# Update data from NY Lottery API
npx powerball-quantum update

Programmatic Usage

import { predict, quickPick, formatPick, updateData } from 'powerball-quantum';

// Get 5 picks
const picks = await predict({ count: 5 });
picks.forEach(pick => {
  console.log(formatPick(pick));
  // Output: 21 - 26 - 34 - 57 - 61  🔴 1
});

// Quick single pick
const myPick = await quickPick();
console.log(myPick);
// { whiteBalls: [5, 7, 28, 38, 66], powerball: 23, score: 46.5 }

// Update data
await updateData();

Algorithm

QUANTUM combines multiple Wall Street quant-inspired signals:

| Signal | Description | |--------|-------------| | Momentum | Exponential decay weighting - recent numbers score higher | | Z-Score | Mean reversion - overdue numbers get boosted | | Recent Trend | Last 15 draws with stronger emphasis | | Pair Synergy | Numbers that frequently appear together |

7-Stage Filter

All picks must pass:

  1. ❌ No duplicate with historical combinations
  2. ✅ Sum range: 130-220
  3. ✅ Odd/Even ratio: 2:3 or 3:2
  4. ✅ High/Low balance: 2:3 or 3:2
  5. ✅ Decade balance: At least 3 different decades
  6. ✅ Ending diversity: At least 4 different last digits
  7. ❌ No triple consecutive numbers

Data Source

Historical data from NY Open Data Powerball API.

Disclaimer

For educational and entertainment purposes only. Lottery numbers are randomly drawn. No algorithm can predict or guarantee winning numbers. Gamble responsibly.

License

MIT