apolo-undici

graphql client using undici

Usage no npm install needed!

<script type="module">
  import apoloUndici from 'https://cdn.skypack.dev/apolo-undici';
</script>

README

apolo graphql client using the undici http library

const { GraphqlClient } = require('./index.js');


const gqlClient = new GraphqlClient('http://localhost:8080');

const { users } = await gqlClient.query(`query{users{id,name,email}}`)