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

gensuitemath

v0.1.4

Published

GenSuite now with GenThr33 Arithmetic benchmarker.

Readme

GenThr33 CLI (GenSuite)

GenThr33 is a showy, interactive CLI for generating digits of pi, listing primes, and running math benchmarks. It mixes a neon‑style UI with a Rust helper for fast computation and reliable timing.

Why this exists

  • Fast math: pi and prime generation are handled by a Rust helper for performance and consistent results.
  • Interactive UX: prompts, animated logo, and color schemes make the CLI feel lively.
  • Benchmarking: quick, time‑boxed suites let you gauge your machine in ~45–60 seconds per test.

Install

Local install from this repo is pretty easy:

npm install

Build the Rust helper (required):

npm run build:helper

Run the CLI:

node gensuite.js

Or, simply install via npm:

npm install -g genSuite
gensuite

Commands

These can be passed as arguments or typed inside the interactive prompt.

Core

  • gensuite pi
    Prompts for digits of pi and exports results if you want.

  • gensuite primes
    Prompts for how many primes and outputs them in colored increments.

  • gensuite bench or gensuite run benchmarks
    Opens the benchmark menu to run time‑boxed suites.

  • gensuite home
    Returns to the logo screen with a blinking block cursor.

Help

  • gensuite help
  • gensuite /help
  • gensuite -h

Natural language shortcuts

  • gensuite "give me some pi"
  • gensuite "log prime numbers"

Interactive UX

The CLI is open‑ended. It continuously asks:

What would you like to run?

Type commands like:

  • pi
  • run pi
  • prime benchy
  • run benchmarks
  • /help
  • home
  • exit

If the input doesn’t match supported commands, you’ll get a randomized “directive” response.

Output Export

After pi or prime generation, you’re asked if you want to export results:

Save results to a .txt file? (y/N)

If yes, you’ll be prompted for a filename.

Benchmarks

Benchmarks are time‑boxed and run in the Rust helper:

  • Matrix Multiply (matmul)
    Floating‑point matrix multiplication for a quick compute‑heavy test.

  • BigInt Multiply (bigint)
    Repeated big‑integer multiplications to stress arbitrary precision math.

  • Prime Sieve (sieve)
    Repeated sieving to assess integer throughput.

You choose a duration (45/60/90 seconds) and which suites to run.

Performance Data (ETA + Rate)

For pi and primes, GenThr33 runs a short calibration sample to estimate:

  • ETA (expected time to finish)
  • Rate (digits/sec or primes/sec)

If your request likely exceeds ~30 seconds, you’ll be prompted to cap, re‑enter, or cancel.

Configuration

GenThr33 stores settings in gensuite.config.json:

  • colorScheme: neon, sunset, ocean
  • animations: true | false

You can change these from the /help menu.

How It Works

JavaScript CLI

The Node CLI handles:

  • prompts and routing
  • color themes
  • animated logo and cursor
  • saving output files

Rust Helper (required)

The Rust helper is used for all computation:

  • pi <digits>: fast BigInt Machin‑style calculation
  • primes <count>: fast sieve generation
  • bench-* <seconds>: time‑boxed benchmark suites

If the helper isn’t built, the CLI will exit with an error.

API / Programmatic Use

The CLI is designed primarily for interactive use, but you can invoke it with arguments:

gensuite pi
gensuite primes
gensuite bench

For raw computational output, you can also call the Rust helper directly:

./gensuite-helper/target/release/gensuite-helper pi 200
./gensuite-helper/target/release/gensuite-helper primes 30
./gensuite-helper/target/release/gensuite-helper bench-matmul 60

Development

npm install
npm run build:helper
node gensuite.js

License

MIT

❤️, ChrisAdams.io