A simple fetch-wrapper for making GraphQL API calls in a jiff!
MIT License
Designed to feel similar to using apollo's graphql-tag function.
Jraph takes two parameters
import {jraph} from 'jraph';
const gql = jraph("https://csb-xpwq1o2824-xravvsjkul.now.sh/");
async function getItems(){
return gql`{
items{
title
info
}
}
`
}