npm.io
1.0.0 • Published 3d ago

@graphiql/toolkit

Licence
MIT
Version
1.0.0
Deps
2
Size
482 kB
Vulns
0
Weekly
0
Stars
16.9K

Changelog | API Docs | NPM | Discord

@graphiql/toolkit

This is a general purpose library for building GraphQL IDEs. It's being used by other packages like graphiql and @graphiql/react and also provides utilities that are useful when working with these packages.

Docs

  • createTransport : a utility for creating a transport prop implementation, GraphiQL's wire-level primitive for running operations and reading back real HTTP status, headers, and timing
  • createFetcher : a utility for creating a fetcher prop implementation for HTTP GET, POST including multipart, websockets fetcher (deprecated in favor of createTransport)
  • more to come!

Keywords