Chari69 / pokemon-berries-random

A module to express berries random

Home Page:https://www.npmjs.com/package/pokemon-berries-random

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokemon-Berries-Random

NPM version NPM downloads Build status

npm installnfo

About

This Module Contains all berries and pokemons names and return a Pokemon (or berrie) random name from the list.


Getting Started

To install, simply run the following command in your terminal (from your project directory):

npm install pokemon-berries-random



Example Code For calling the pokemon and berries random names.

const Pokemon = require("pokemon-berries-random");

// Logs a random mythical pokemon
console.log("Mythical Pokemon: " + Pokemon.randomMythical());

// Logs a random legendary pokemon
console.log("Legendary Pokemon: " + Pokemon.randomLengendary());

// Logs a random pokemon from gen 1 to 8
console.log("Full Random Pokemon: " + Pokemon.randomPokemon());

// Logs a random berrie
console.log("Random Berries: " + Pokemon.randomBerry().toUpperCase());

About

A module to express berries random

https://www.npmjs.com/package/pokemon-berries-random


Languages

Language:JavaScript 100.0%