You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Using `require` instead of `import`](#using-require-instead-of-import)
30
+
-[Cookie support for `node`](#cookie-support-for-node)
31
+
-[Using a custom `fetch` method](#using-a-custom-fetch-method)
32
+
-[Receiving a raw response](#receiving-a-raw-response)
33
+
-[File Upload](#file-upload)
34
+
-[Browser](#browser)
35
+
-[Node](#node)
36
+
-[Batching](#batching)
37
+
-[Cancellation](#cancellation)
38
+
-[Middleware](#middleware)
39
+
-[ErrorPolicy](#errorpolicy)
40
+
-[None (default)](#none-default)
41
+
-[Ignore](#ignore)
42
+
-[All](#all)
43
+
-[FAQ](#faq)
45
44
-[Why do I have to install `graphql`?](#why-do-i-have-to-install-graphql)
46
45
-[Do I need to wrap my GraphQL documents inside the `gql` template exported by `graphql-request`?](#do-i-need-to-wrap-my-graphql-documents-inside-the-gql-template-exported-by-graphql-request)
47
46
-[What's the difference between `graphql-request`, Apollo and Relay?](#whats-the-difference-between-graphql-request-apollo-and-relay)
@@ -52,6 +51,7 @@ Minimal GraphQL client supporting Node and browsers for scripts or simple apps
52
51
53
52
- Most **simple & lightweight** GraphQL client
54
53
- Promise-based API (works with `async` / `await`)
54
+
- ESM native package (CJS build is included for now as well, but will eventually be removed)
55
55
- TypeScript support
56
56
- Isomorphic (works with Node / browsers)
57
57
@@ -61,7 +61,7 @@ Minimal GraphQL client supporting Node and browsers for scripts or simple apps
61
61
npm add graphql-request graphql
62
62
```
63
63
64
-
## Quickstart
64
+
## Quick Start
65
65
66
66
Send a GraphQL query with a single line of code. ▶️ [Try it out](https://runkit.com/593130bdfad7120012472003/593130bdfad7120012472004).
0 commit comments