Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Repository files navigation

⚠️ DEPRECATED

This package is no longer being maintained. Recommend using this instead: https://github.com/erezushi/pokemon-randomizer

Pokemon Randomizer

This is a simple library to generate random teams of pokemon

Options:

  • number: number of random pokemon to generate
  • evolved: choose only fully evolved pokemon
  • type: choose only pokemon of this type
  • randomType: choose only pokemon of a random type
  • superEffective: choose only pokemon super effective against this type
  • unique: choose unique pokemon

Examples:

const { pickRandomPokemon } = require('pokemon-randomizer');

// Chooses 6 random pokemon
const result = await pickRandomPokemon();
result = [
    { name: 'Pikachu' ... },
    { name: 'Mewtwo' ... },
    ...
]

// Chooses 3 random, unique, final stage pokemon, that are super effective against fire
const fullyEvolved = await pickRandomPokemon({
    number: 3,
    unique: true,
    evolved: true,
    superEffective: 'fire'
});
fullyEvolved = [
    { name: 'Blastoise' ... },
    { name: 'Golem' ... },
    { name: 'Omastar' ...},
]

About

Library to pick random teams of pokemon

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages