TopGit tracks hasura/graphqurl on GitHub as part of the Developer Tools family. The project has 3.4k stars. curl for GraphQL with autocomplete, subscriptions and GraphiQL. Also a dead-simple universal javascript GraphQL client.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
The createClient function is available as a named export. It takes init options and returns client.
const { createClient } = require('graphqurl');
options: [Object, required] graphqurl init options with the following properties:
endpoint: [String, required] GraphQL endpoint
headers: [Object] Request header, defaults to {}. These headers will be added along with all the GraphQL queries, mutations and subscriptions made through the client.
websocket: [Object] Options for configuring subscriptions over websocket. Subscriptions are not supported if this field is empty.
endpoint: [String, ] WebSocket endpoint to run GraphQL subscriptions.
shouldRetry: [Boolean] Boolean value whether to retry closed websocket connection. Defaults to false.
parameters: [Object] Payload to send the connection init message with
onConnectionSuccess: [void => void] Callback function called when the GraphQL connection is successful. Please not that this is different from the websocket connection being open. Please check the followed protocol for more details.
onConnectionError: [error => null] Callback function called if the GraphQL connection over websocket is unsuccessful
onConnectionKeepAlive: [void => null]: Callback function called when the GraphQL server sends GRAPHQL_CONNECTION_KEEP_ALIVE messages to keep the connection alive.
query: [String required] The GraphQL query or mutation to be executed over HTTP
variables: [Object] GraphQL query variables. Defaults to {}
headers: [Object] Header overrides. If you wish to make a GraphQL query while adding to or overriding the headers provided during initalisations, you can pass the headers here.
successCallback: [response => null] Success callback which is called after a successful response. It is called with the following parameters:
response: The response of your query
errorCallback: [error => null] Error callback which is called after the occurrence of an error. It is called with the following parameters:
error: The occurred error
Returns: [Promise (response) ] This function returns the response wrapped in a promise.
response: response is a GraphQL compliant JSON object in case of queries and mutations.
client.subscribe: [(subscriptionOptions, eventCallback, errorCallback) => Function (stop)]
subscriptionOptions: [Object required]
subscription: [String required] The GraphQL subscription to be started over WebSocket
variables: [Object] GraphQL query variables. Defaults to {}
onGraphQLData: [(response) => null] You can optionally pass this function as an event callback
onGraphQLError: [(response) => null] You can optionally pass this function as an error callback
onGraphQLComplete: [() => null] Callback function called when the GraphQL subscription is declared as complete by the server and no more events will be received
eventCallback: [(response) => null] Event callback which is called after receiving an event from the given subscription. It is called with the following parameters:
event: The received event from the subscription
errorCallback: [error => null] Error callback which is called after the occurrence of an error. It is called with the following parameters:
error: The occurred error
Returns: [void => null] This is a function to stop the subscription
The most recent commit recorded on hasura/graphqurl was 1.7 years ago, based on the GitHub push timestamp. The repository has 101 forks — one of the better signals of community interest.
How many stars does hasura/graphqurl have?
hasura/graphqurl has 3.4k GitHub stars — refresh the page for the live number, or check github.com/hasura/graphqurl. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is hasura/graphqurl open source?
Yes — hasura/graphqurl ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/hasura/graphqurl.
What else is in the Developer Tools space?
hasura/graphqurl is tracked by TopGit under the Developer Tools category, alongside 7 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is hasura/graphqurl?
hasura/graphqurl (hasura/graphqurl) is a JavaScript project on GitHub. From the project's own README: curl for GraphQL with autocomplete, subscriptions and GraphiQL. Also a dead-simple universal javascript GraphQL client.
What language is hasura/graphqurl written in?
hasura/graphqurl is written primarily in JavaScript. GitHub's language field is based on the largest share of bytes in the default branch.
What license does hasura/graphqurl use?
hasura/graphqurl is released under the Apache-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about hasura/graphqurl?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/hasura/graphqurl is the definitive source.
Read full README in the tab above.
Want a second opinion on graphqurl?
Ask an AI that can read this page — one click and you get its take on graphqurl.