pokemon-data

A library that contains the name of all pokemons. A great way to name your fixtures, make a pokedex, or just catch' em all.

Usage no npm install needed!

<script type="module">
  import pokemonData from 'https://cdn.skypack.dev/pokemon-data';
</script>

README

pokemon-data

An npm micro library used to host the name of all pokemons. A great way to name your fixtures, make a pokedex, or just catch' em all.

How to use

First install the package.

npm install pokemon-data

In your project (js file), use all, getRandom or getById.

var pokemonData = require('pokemon-data');
pokemonData.all // To get the whole list
pokemonData.getRandom() // To get a random pokemon
pokemonData.random() // This will be deprecated, but it still works to get a random pokemon
pokemonData.getById(1) // To get bulbasaur.

Currently the package only supplies the name of the pokemon. Feel free to open an issue on the github if you want any other functionalities.

Resources used:

http://www.dragonflycave.com/list.aspx