1.4.1 • Published 6 years ago

graphql-pokedex v1.4.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

graphql-pokedex

In memory Pokedex graphql schema, for mocking and testing purposes.

Data and sprites are imported from pokeapi project.

Explore the schema online.

Usage as library

import { schema } from 'graphql-pokedex';

This will provide executable graphql-js schema, which you can then supply to graphql clients/tools/middleware/etc;

import { fetch } from 'graphql-pokedex';
fetch({ query, variables, operationName}).then(
    result => ...
);

Use this function to execute a query against the schema.

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago