Too small, 4k gzipped. No dependencies, plain vanilla JavaScript. Plug & Play and Isomorphic. Runs on most browsers. You don't need to install Node.js ecosystem on your computer. Query merging to reduce request number. GraphQL is based on a very simple HTTP transaction, which sends a request to an endpoint with query and variables. Many libraries require complex stacks to make that simple request. In any project you don't use React, Relay, you'll need a simpler client which manages your query and makes a simple request. You can use GraphQL.js with Rails Asset Pipeline using graphqljs-rails. GraphQL.js is isomorphic. You can use it in both browser and Node.js. Create a simple connection to your GraphQL endpoint. graph will be a simple function that accepts query and variables as parameters. You can prepare queries for lazy execution. This will allow you to reuse your queries with different variables without any hassle.

Features

  • No dependencies, plain vanilla JavaScript
  • You don't need to install Node.js ecosystem on your computer
  • Query merging to reduce request number
  • Runs on most browsers
  • GraphQL is based on a very simple HTTP transaction
  • You can use GraphQL.js with Rails Asset Pipeline using graphqljs-rails

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow graphql.js client

graphql.js client Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of graphql.js client!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2023-03-01