{"repo":"0no-co/graphql-web-lite","free":true,"listed":false,"github":"https://github.com/0no-co/graphql-web-lite","clone":"git clone https://github.com/0no-co/graphql-web-lite.git","description":"The small sibling of the graphql package, slimmed down for client-side libraries.","language":"JavaScript","stars":164,"topics":["graphql"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"graphql-web-lite The small sibling of the graphql package, slimmed down for client-side libraries The graphql package serves two purposes in being the reference implementation of the GraphQL specification and being used as the shared toolkit for implementing GraphQL in client-side and server-side JavaScript applications. This can cause bloat for client-side apps, where we'd rather choose lower bundlesize impact over fidelity. graphql-web-lite provides an alias package that can be swapped in for the standard graphql package in client-side applications. It aims to reduce the size of imports that are in common use by GraphQL clients and users, while still providing most graphql exports that are used in other contexts. It replaces the default language exports with @0no-co/graphql.web for a leaner parser, printer, and visitor, which only support the GraphQL query language and are tested to 100% coverage and built to match GraphQL.js’ performance. In an average app using the GraphQL library for a GraphQL client aliasing this package could save you 7kB gzip effortlessly. Note: If you’re using @urql/core@^4 you’re already benefitting from @0no-co/graphql.web ’s size reduction and aliasing graphql-web-lite will only benefit you if you import from graphql in any of your other code or libraries. Installation graphql-web-lite mirrors the folder structure of the regular graphql package and includes mostly the same files and imports as the graphql package, minus a couple that aren't common","default_branch":null,"files":null,"tree":[],"storefront":"/r/0no-co","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0no-co/graphql-web-lite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}