Skip to content

💈Generate strongly typed, flexible & fast client SDK from any GraphQL API

Notifications You must be signed in to change notification settings

vadistic/clientql

Repository files navigation

clientql

Generate strongly typed, flexible & fast client SDK from any GraphQL API

Installation

This project is in alpha stage. You can clone & build it locally.

Overview

  • Strongly Typed

    • Client typings - replaces graphql-code-generator or apollo-cli for most cases
    • Configurable - many common codegen options and custom APIs for complete control
  • Flexible

    • Enviroment agnostic - browser / node / react native (as long as it supports ES6 proxies)
    • Framework agnostic - created with react in mind, but can be used with any frontend or server-side framework
    • Client agnostic - with tiny adapter function any graphql client will work
  • Fast

    • Lightweight - client-side ships with absolutely no dependencies (graphql recommended as devDep for typings)
    • Efficient lazy runtime - queries & fragments are generated efficiently (max few ms) at runtime (to avoid shipping and evaluating graphql strings) with additional fragment and query level caching (to shave another miliseconds of huge queries)
  • And also...

    • Modular - most packages provide generic, reusable functionality
    • Multi-build - ESM / CJS

TODO

https://github.com/vadistic/clientql/projects/1

About

💈Generate strongly typed, flexible & fast client SDK from any GraphQL API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published