pokemon-gif

GIF urls for all 721 Pokemon

Usage no npm install needed!

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

README

pokemon-gif

Build Status npm npm

This function returns a url for a GIF for a given pokemon name or pokedex number. The sprites themselves hosted by Pokestadium.

Installation

npm install pokemon-gif --save

Usage

const pokemonGif = require('pokemon-gif');

/* String input: must be a valid pokemon name */
pokemonGif('pikachu');
// => 'http://www.pokestadium.com/sprites/xy/pikachu.gif'

/* Number input: must be a valid pokedex number (1 - 721) */
pokemonGif(25);
// => 'http://www.pokestadium.com/sprites/xy/pikachu.gif'

License

MIT