···
19
-
`@0no-co/graphql.web` is an **experimental** library, aiming to provide an
20
-
absolute minimum of features and exports of `graphql` utilities that typical
21
-
GraphQL web apps or GraphQL clients need.
19
+
`@0no-co/graphql.web` is a utility library, aiming to provide the minimum of
20
+
functions that typical GraphQL clients need and would usually import from
21
+
`graphql`, e.g. a GraphQL query parser, printer, and visitor.
While its goal isn’t to be an exact match to [the GraphQL.js
24
-
API](https://graphql.org/graphql-js/graphql/) it aims to provide API- and
24
+
API](https://graphql.org/graphql-js/graphql/) it aims to remain API- and
type-compatible where possible and necessary. However, its goal is to provide
the smallest implementation for common GraphQL utilities that are still either
spec-compliant or compatible with GraphQL.js’ implementation.
29
-
> **Note:** While this library can be used as a drop-in replacement for
30
-
> `graphql` in _some cases_, the [`graphql-web-lite`
31
-
> project](https://github.com/0no-co/graphql-web-lite) is maintained to be
32
-
> a full shim/alias for the `graphql` package.
29
+
> **Note:** If you’re instead looking for a drop-in replacement for the
30
+
> `graphql` package that you can just alias into your web apps, read more about
31
+
> the [`graphql-web-lite` project](https://github.com/0no-co/graphql-web-lite),
32
+
> which uses this library to shim the `graphql` package.
34
+
[`@urql/core`](https://github.com/urql-graphql/urql) depends on this package to
35
+
power its GraphQL query parsing and printing.