maxAliasesPlugin

maxAliasesPlugin

Package nameWeekly DownloadsVersionLicenseUpdated
@escape.tech/graphql-armor-max-aliasesDownloadsVersionLicenseJan 22nd, 2024

@escape.tech/graphql-armor-max-aliases

Limit the number of aliases in a GraphQL document.

It is used to prevent DOS attack or heap overflow.

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-max-aliases
 
# yarn
yarn add @escape.tech/graphql-armor-max-aliases

Documentation

https://escape.tech/graphql-armor/docs/plugins/max-aliases