@@ -30,7 +30,7 @@ Minimal GraphQL client supporting Node and browsers for scripts or simple apps
30
30
31
31
- Most ** simple & lightweight** GraphQL client
32
32
- Promise-based API (works with ` async ` / ` await ` )
33
- - ESM native package (CJS build is included for now as well, but will eventually be removed )
33
+ - [ Pure ESM package] ( https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c )
34
34
- First class TypeScript support
35
35
- Including ` TypedDocumentNode `
36
36
- Isomorphic (works in both Nodejs and Browsers)
@@ -94,15 +94,14 @@ await client.request(document)
94
94
- [ Cancellation] ( ./examples/request-cancellation.ts )
95
95
- [ Headers Per Request (static)] ( ./examples/request-headers-static-per-request.ts )
96
96
- [ Headers Per Request (dynamic)] ( ./examples/request-headers-dynamic-per-request.ts )
97
- - [ Cookie support for Nodejs] ( ./examples/request-cookie-support-for-node.ts )
98
97
- [ Handle Raw Response] ( ./examples/request-handle-raw-response.ts )
99
98
- GraphQL:
100
99
- [ Document Variables] ( ./examples/graphql-document-variables.ts )
101
100
- [ Mutation] ( ./examples/graphql-mutations.ts )
102
101
- [ Batching Requests] ( ./examples/graphql-batching-requests.ts )
103
102
- Configuration:
104
103
- [ Fetch: Passing Options] ( ./examples/configuration-fetch-options.ts )
105
- - [ Fetch: Use custom function] ( ./examples/configuration-fetch-custom-function.ts )
104
+ - [ Fetch: Use custom function (e.g. cookie support) ] ( ./examples/configuration-fetch-custom-function.ts )
106
105
- [ Custom JSON Serializer] ( ./examples/configuration-request-json-serializer.ts )
107
106
- [ Incremental: Set Endpoint] ( ./examples/configuration-incremental-endpoint.ts )
108
107
- [ Incremental: Set Request Headers] ( ./examples/configuration-incremental-request-headers.ts )
@@ -113,7 +112,6 @@ await client.request(document)
113
112
- Other:
114
113
- [ Middleware] ( ./examples/other-middleware.ts )
115
114
- [ Error Handling] ( ./examples/other-error-handling.ts )
116
- - [ OCommonJS Support] ( ./examples/other-package-commonjs.ts )
117
115
118
116
## Node Version Support
119
117
0 commit comments