0.1.4 • Published 10 years ago

pokemon-data v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

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

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago