FetchQL is a query client for GraphQL server works on both browser and Node(need fetch support, eg. node-fetch)
Now FetchQL distributes an ES module(./lib/fetchql.es.js) by default and you can simply import FetchQL by import fetchql from 'fetchql'.
./lib/fetchql.es.js
import fetchql from 'fetchql'
For details, please refer to PR: Added support for ES modules by default.
./src
./lib
./lib/fetchql.js
There was an error while loading. Please reload this page.