1.0.1 • Published 4 years ago

@eyewa/graphql-request v1.0.1

Weekly downloads
34
License
MIT
Repository
github
Last release
4 years ago

@eyewa/graphql-request

Forked from https://github.com/prisma-labs/graphql-request

Please follow https://github.com/prisma-labs/graphql-request documentation for the general integration guides. We only document the extended functionalities.

Install


Install using npm

npm install @eyewa/graphql-request

Install using yarn

yarn add @eyewa/graphql-request

Usage

import { GraphQLClient } from 'graphql-request'
// ... or create a GraphQL client instance to send requests
const client = new GraphQLClient(endpoint, { headers: {} })
client.query(query, variables).then(data => console.log(data))