Package Exports
- graphql-request
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (graphql-request) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
graphql-request
Minimal GraphQL client supporting Node and browsers for scripts or simple apps
Install
npm install graphql-request
Quickstart
import request from 'graphql-request'
async function printMovie() {
const { Movie } = await request('https://api.graph.cool/simple/v1/movies', `
{
Movie(title: "Inception") {
releaseDate
actors {
name
}
}
}`
console.log(Movie)
}
printMovie()
Usage
Single function: request
TODO
Client
TODO
Help & Community 
Join our Slack community if you run into issues or have questions. We love talking to you!