1.0.0 • Published 2 years ago

metagross v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Metagross

A simple, efficient wrapper for PokeAPI/api-data.

Usage

To look up a specific Pokemon, simply pass in the Pokemon's name.

const metagross = require('metagross');
const pokemon = metagross.getPokemon('pikachu');
console.log(pokemon);

Alternatively, a Pokemon's id can be provided instead of its name.

const metagross = require('metagross');
const pokemon = metagross.getPokemon(25);
console.log(pokemon);

All types of data present in api-data are also available via metagross.

const metagross = require('metagross');
const move = metagross.getMove('iron-tail');
console.log(move);