0.0.0-alpha.10 • Published 1 year ago

@gql-vis/plugin-urql v0.0.0-alpha.10

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@gql-vis/plugin-urql

Installation

$ npm install @gql-vis/plugin-urql

Usage

import { createClient } from "urql";
import { createExchange } from "@gql-vis/plugin-urql";

const client = createClient({
  url: `http://localhost:3000/graphql`,
  exchanges: [
    createExchange({
      apiKey: `YOUR-API-KEY`,
      url: `https://server.graphqlanalyzer.com/api/v1/collector`,
    }),
  ],
});

License

MIT - https://graphqlvisualizer.com/