JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q77278F
  • License MIT

A better, easier, and enhanced library that allows you to fetch, display, and control how you fetch pokemons.

Package Exports

  • pokeapi-enhanced
  • pokeapi-enhanced/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pokeapi-enhanced) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

NPM NodeJS TypeScript JavaScript

pokeapi-enhanced

A better, suitable, & concise PokeAPI wrapper for Node projects using ES modules.

Installation Guide:

npm install pokeapi-enhanced

Usage:

import { Pokedex } from  'pokeapi-enhanced';

const dex = await Pokedex.getPokemon('mr. mime');
const id = dex?.getPokemonId; // getter

Always make sure that you check the API docs for reference.

Some pokemons might not have some properties and will display as null or undefined.

Contributing:

Please read our code of conduct and contributing guidelines before attempting to contribute.
To open issues, please go here

Important:

Only fetching from https://pokeapi.co/api/v2/pokemon endpoint is accessible, in the future, I will keep adding more and more endpoint access implementations.