metagross

1.0.0 • Public • Published

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);

Readme

Keywords

none

Package Sidebar

Install

npm i metagross

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.87 kB

Total Files

5

Last publish

Collaborators

  • justinleewells