# @genql/pokemon-demo

> Graphql client

Latest version **1.0.0** (published 2020-07-13) · 0 weekly downloads

## Install

```sh
npm install @genql/pokemon-demo
pnpm add @genql/pokemon-demo
yarn add @genql/pokemon-demo
bun add @genql/pokemon-demo
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-07-13 |
| First published | 2020-07-13 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 30.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | xmorse |

## Links

- npm: https://www.npmjs.com/package/@genql/pokemon-demo
- npm.io page: https://npm.io/package/@genql/pokemon-demo

## Dependencies (1)

- [genql-runtime](https://npm.io/package/genql-runtime.md) latest

## Recent versions

- 1.0.0 (latest) — 2020-07-13

## README

# @genql/pokemon-demo

Your awesome graphql client ❤️

## Example usage

```js
import { createClient } from '@genql/pokemon-demo'
const client = createClient()



// variables
var pokemons__first

client
  .query({
    query: {
      pokemon: {
        height: {
          minimum: true,
          maximum: true,
        },
        evolutionRequirements: {
          amount: true,
        },
        id: true,
        classification: true,
        fleeRate: true,
        maxCP: true,
      },
    },
    pokemons: [
      {
        first: pokemons__first,
      },
      {
        number: true,
        name: true,
        resistant: true,
        weaknesses: true,
        fleeRate: true,
        maxHP: true,
        image: true,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var pokemons__first

client
  .query({
    pokemon: {
      evolutions: {
        evolutions: {
          evolutionRequirements: {
            name: true,
          },
          height: {
            minimum: true,
          },
          id: true,
          number: true,
          name: true,
          classification: true,
          resistant: true,
          weaknesses: true,
          maxCP: true,
          maxHP: true,
          image: true,
        },
        height: {
          minimum: true,
        },
        evolutionRequirements: {
          name: true,
        },
        name: true,
        classification: true,
        types: true,
        resistant: true,
        fleeRate: true,
        maxHP: true,
        image: true,
      },
      height: {
        minimum: true,
      },
      id: true,
      number: true,
      classification: true,
      fleeRate: true,
    },
    query: {
      pokemons: [
        {
          first: pokemons__first,
        },
        {
          attacks: {
            fast: {
              type: true,
              damage: true,
            },
          },
          weight: {
            minimum: true,
          },
          height: {
            minimum: true,
          },
          evolutions: {
            classification: true,
            maxCP: true,
          },
          evolutionRequirements: {
            amount: true,
          },
          id: true,
          number: true,
          classification: true,
          weaknesses: true,
          fleeRate: true,
          image: true,
        },
      ],
      pokemon: {
        number: true,
        name: true,
        types: true,
        resistant: true,
        weaknesses: true,
        fleeRate: true,
        maxHP: true,
        image: true,
      },
    },
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var pokemons__first

client
  .query({
    pokemons: [
      {
        first: pokemons__first,
      },
      {
        height: {
          minimum: true,
          maximum: true,
        },
        weight: {
          maximum: true,
        },
        attacks: {
          special: {
            type: true,
          },
        },
        number: true,
        classification: true,
        types: true,
        resistant: true,
        image: true,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var pokemons__first

client
  .query({
    pokemons: [
      {
        first: pokemons__first,
      },
      {
        weight: {
          minimum: true,
        },
        evolutionRequirements: {
          name: true,
        },
        number: true,
        types: true,
        weaknesses: true,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))


```

---
_Source: https://npm.io/package/@genql/pokemon-demo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
