gql0
v0.0.1
Published
The minimal graphql client on earth.
Downloads
2
Readme
gql0
The minimal graphql client on earth.
How to ?
import create from 'gql0'
const url = 'https://my-awesome-api.com/graphql'
const headers = {
Authorization: `Bearer ${token}`
}
const gql = create({ url, headers })
const query = gql`
{
hello
}
`
const data = await query.call()
console.log(data)
Don't use it
It's just some code to play with GraphQL, prefer a solution like Relay or Apollo.