Fetch-based GraphQL client for browser and Node.js. Version 0.1.0 provides a minimal client supporting both query and mutation operations, with optional uploads for mutations. It leverages the native Fetch API in browsers and requires a fetch polyfill in Node (a separate Node entry point is provided). Key differentiator: lightweight and dependency-free if fetch is available, though early-stage with no breaking changes yet documented.
npm install grapheeteeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Grapheetee client, send a query, and log the result.
Use 'grapheetee/node' for Node.js or provide global fetch, Request, and Headers.
Always supply url: new Grapheetee({ url: '...' })Provide uploads as an array of objects with field, file, and filename.
Use `require('grapheetee/node')` or provide global fetch.Instantiate with `new Grapheetee({ url: '...' })`.No dependency data recorded yet.