1.0.0 • Published 10 months ago

npm-poke-api v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

NPM Pokémon API v1.0.0

This app is a basic npm package that pulls info about a particular pokemon from the PokéAPI. It will retrieve the following information:

  • Name
  • Type of the Pokémon
  • Abilities separated by a comma
  • Weight of the Pokémon in pounds lbs
  • Base experience of the Pokémon

How to Use

Install the package by using:

npm install npm-poke-api

After that, you can retrieve the data of the Pokémon you choose by using:

pokemon-cli get-pokemon --pokemon=<pokémonName>

Use Example

If after installing you type:

pokemon-cli get-pokemon --pokemon=chikorita

You will see:

chikorita, of type grass has these abilities: overgrow, leaf-guard. This pokémon weighs around 64 lbs and has a base experience of 64
1.0.0

10 months ago