0.0.3 • Published 8 years ago
gqlient v0.0.3
gqlient
A lightweigh GraphQL client
Install
# using npm
npm install --save gqlient
# using yarn
yarn add gqlientUsage
import GQLient from 'gqlient';Initialize a client by passing your endpoint and an (optional) options object the the GQLient constructor. Then you can make requests by running client.query, client.mutate, or client.execute (they all do the same thing). Any of these methods accept two parameters, the first being your query (either a string or query document) and the second being a variables object.****
License
MIT © Vince Coppola