polyql

A modern GraphQL-Client powered by the Fetch API

Usage no npm install needed!

<script type="module">
  import polyql from 'https://cdn.skypack.dev/polyql';
</script>

README

PolyQL

dependencies Status docs npm license

A modern simple GraphQL-Client powered by the Fetch API.

Warning: This library is very unstable at the moment. I'd suggest only playing around with it until it's stable (v1.0.0 upwards).

Installation

yarn add polyql

Documentation

The documentation is available here.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Credits

The primary inspiration to build this library came from graphql-request and lokka. The only reason i built a client myself was that i really missed the out-of-the-box support for queries via GET / QueryString. No simple client were able to support that, without me configuring alot of stuff.

License

This project is licensed under the MIT License - see the LICENSE file for details.