graphql_query_compress 1.0.0 copy "graphql_query_compress: ^1.0.0" to clipboard
graphql_query_compress: ^1.0.0 copied to clipboard

A package that eliminates unnecessary characters from a GraphQL query, saving several bytes on requests.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add graphql_query_compress

With Flutter:

 $ flutter pub add graphql_query_compress

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  graphql_query_compress: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:graphql_query_compress/graphql_query_compress.dart';
7
likes
140
pub points
58%
popularity

Publisher

unverified uploader

A package that eliminates unnecessary characters from a GraphQL query, saving several bytes on requests.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

gql_exec, gql_link

More

Packages that depend on graphql_query_compress