🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

graphql-pokedex

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-pokedex

GraphQL pokedex schema

latest
npmnpm
Version
1.4.1
Version published
Maintainers
1
Created
Source

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.

Keywords

pokedex

FAQs

Package last updated on 25 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts