pokemon-gif

1.0.14 • Public • Published

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

/pokemon-gif/

    Package Sidebar

    Install

    npm i pokemon-gif

    Weekly Downloads

    8

    Version

    1.0.14

    License

    MIT

    Unpacked Size

    36.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • jackrzhang