Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
Getting Started
Installation

Installation

GraphQL Mesh comes in multiple packages, which you should install according to your needs.

Mesh CLI, the core package

To get started, let's first install locally the Mesh CLI package (and dependencies):

npm i @graphql-mesh/cli graphql
⚠️
Note: Avoid installing Mesh CLI as a global dependency

Handlers and Transforms packages

As stated previously, Mesh comes in many packages.

Each Source Handler and Transforms are shipped as dedicated packages, for example:

  • The Handler to configure a REST API Source requires the @graphql-mesh/openapi package
  • The naming convention Transforms requires the @graphql-mesh/transform-naming-convention package

Mesh will display a helpful error message when using a Handler or Transforms that is not properly installed.

The full list of Source Handler packages can be found here, same for Transforms packages.