GraphQL Mesh comes in multiple packages, which you should install according to your needs.
To get started, let's first install locally the Mesh CLI package (and dependencies):
yarn add @graphql-mesh/cli graphql
Note: Avoid installing Mesh CLI as a global dependency
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
- The naming convention Transforms requires the
Mesh will display a helpful error message when using a Handler or Transforms that is not properly installed.