gatsby-source-pokemons

1.1.5 • Public • Published

Gatsby Source Pokemons Plugin

Source plugin for pulling pokemon data into Gatsby.

How to install

Within the root of your Gatsby Project:

  1. npm install gatsby-source-pokemons

  2. add gatsby-source-pokemons to your plugin array in gatsby-config.js

  3. Navigate to localhost:8000/__graphql to view allPokemons query type.

Examples of usage

see example repo

  allPokemons {
    nodes {
      name
      id
      total
      hp
      sp_def
      sp_atk
      defense
      attack
      type
      speed
      national_number
      natl_num(as int)
      sprites {
        normal
        large (not available on pokemon after national_number 721)
      }
    }
  }
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i gatsby-source-pokemons

      Weekly Downloads

      15

      Version

      1.1.5

      License

      MIT

      Unpacked Size

      807 kB

      Total Files

      10

      Last publish

      Collaborators

      • _dsanderson