pokemon-names-and-types
An open source project created as practice for the egghead.io course - https://egghead.io/courses/how-to-write-an-open-source-javascript-library
Pokemon Names
Get a all Pokemon names
pkmnall //Returns all pokemon names as a json array
Get a random Pokemon name
pkmn //Returns a random pokemon
Get n Pokemon names
pkmn //Returns n random pokemon
Pokemon Types
Get type to which another is weak to
pkmnTypes //Ice
Check if a type is strong/weak against another
pkmnTypes //TruepkmnTypes //False
React Pokemon Badge component
Get a badge with name and specified types
//Returns a badge with types indicated by color:<Badge name="SomePokemon" type1="Fire" type2="Grass"/>