Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gqlient

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gqlient

A lightweigh GraphQL client

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

gqlient

A lightweigh GraphQL client

npm

Install

# using npm
npm install --save gqlient

# using yarn
yarn add gqlient

Usage

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

Keywords

FAQs

Package last updated on 30 Jul 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc