Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@escape.tech/graphql-armor-cost-limit

Escape-Technologies476.4kMIT2.4.2TypeScript support: included

Limit the cost of a GraphQL Query.

readme

@escape.tech/graphql-armor-cost-limit

Limit the complexity of a GraphQL document.

Installation

This plugin is bundled within GraphQL Armor, so you don't need to install it separately.

However, for a standalone usage, you can install it with:

# npm
npm install @escape.tech/graphql-armor-cost-limit

# yarn
yarn add @escape.tech/graphql-armor-cost-limit

Documentation

https://escape.tech/graphql-armor/docs/plugins/cost-limit