/graphql-utils

Utilities and helpers to make working with GraphQL.js based APIs simpler.

Primary LanguageTypeScriptMIT LicenseMIT

graphql-utils

License: MIT GitHub Checks GitHub Issues GitHub Pull Requests GitHub Stars

graphql-utils is a set of NPM packages with utilities for GraphQL.js based projects to aid in implementing complex APIs and working with the GraphQL AST.

It currently consists of two packages:

  • graphql-utils: GraphQL utility functions compatible with any implementation of GraphQL that uses the graphql library as a base.
  • nestjs-graphql-utils: Utilities wrapped in NestJS ParamDecorator to encourage the stateless nature of NestJS GraphQL resolvers.

Documentation

The full documentation with live code sandboxes can be found here.

Installation

The packages can be installed via the npm and Yarn package managers. It's as easy as running npm i @jenyus-org/<package-name> or yarn add @jenyus-org/<package-name>.

For more information see the individual package folders and their respective READMEs.

License

This project is licensed under the terms of the MIT license.