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

pokemon-randomizer-cli

v0.1.5

Published

CLI to pick random teams of pokemon

Readme

Pokemon Randomizer CLI

This is a simple command line interface to generate random lists of pokemon.

Type poke-rand --help to see available options

Options:

-V, --version                          output the version number
-n --number <n>                        Number of Pokemon
-e --evolved                           Only fully evolved Pokemon
-t --type [type]                       Only Pokemon of this type
-r --random-type                       Only Pokemon of a random type
-u --unique                            Only unique Pokemon
-f --file [file]                       Load options from a json file
-s --super-effective [super-effective] Only Pokemon super effective against this type
-h, --help                             display help for command

Examples:

# Defaults to 6 random pokemon
$ poke-rand
Picked 6 Pokemon
Tauros
Dewgong
Magmar
Venonat
Omastar
Arcanine

# You can pick the number of pokemon to return
$ poke-rand --number 2
Picked 2 Pokemon
Pikachu
Abra

# You can use the short form of an option
$ poke-rand -n 2
Picked 2 Pokemon
Abra
Abra

# You can pick only unique pokemon (no duplicates)
$ poke-rand -n 2 -u
Picked 2 Pokemon
Gloom
Abra

# You can pick the type of pokemon
$ poke-rand -n 2 -t fire
Picked 2 Pokemon
Ponyta
Ninetales

# You can pick only fully evolved pokemon
$ poke-rand -n 2 -t fire -e
Picked 2 Pokemon
Rapidash
Ninetales

# You can pick pokemon that are super effective against a type
$ poke-rand -n 2 -s water 
Picked 2 Pokemon
Weepinbell
Electrode

You can also specify the options in a json file, like so:

{
    "number": 2,
    "type": "normal",
    "evolved": true,
    "unique": true,
    "superEffective": "grass"
}

And load these options like so:

$ poke-rand -f /path/to/json/file/options.json
Chose 2 Pokemon
Pidgeot
Dodrio

If you specify options that no pokemon can satisfy, you'll get an error.

# Pick 2 unique fully evolved ghost types (invalid!)
$ poke-rand -n 2 -u -e -t ghost
Error: Not enough pokemon satisfy those options

# Try removing the unique option, or specify a lower number of pokemon to return
# Pick 2 fully evolved ghost types
$ poke-rand -n 2 -e -t ghost
Chose 2 Pokemon
Gengar
Gengar