@delirius/pokedex
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Installation

$ npm install --save @delirius/pokedex

Usage

var Pokedex = require('@delirius/pokedex'),
    pokedex = new Pokedex();

console.log( pokedex.pokemon('garbodor') );
console.log( pokedex.pokemon(90) );
{
  id: 569,
  species_id: 569,
  height: 19,
  weight: 1073,
  base_experience: 166,
  order: 617,
  is_default: 1,
  name: 'garbodor',
  sprites: {
    normal: 'http://img.pokemondb.net/sprites/black-white/normal/garbodor.png',
    animated: 'http://img.pokemondb.net/sprites/black-white/anim/normal/garbodor.gif'
  }
}
{
  id: 90,
  species_id: 90,
  height: 3,
  weight: 40,
  base_experience: 61,
  order: 103,
  is_default: 1,
  name: 'shellder',
  sprites: {
    normal: 'http://img.pokemondb.net/sprites/black-white/normal/shellder.png',
    animated: 'http://img.pokemondb.net/sprites/black-white/anim/normal/shellder.gif'
  }
}

/@delirius/pokedex/

    Package Sidebar

    Install

    npm i @delirius/pokedex

    Weekly Downloads

    2

    Version

    1.1.4

    License

    MIT

    Unpacked Size

    394 kB

    Total Files

    11

    Last publish

    Collaborators

    • delirius