@escape.tech/graphql-armor-max-tokens
v2.5.0
Published
Limit the number of tokens allowed in a GraphQL document.
Downloads
311,622
Keywords
Readme
@escape.tech/graphql-armor-max-tokens
Limit the number of tokens in a GraphQL document.
It is used to prevent DOS attack, heap overflow or server overloading.
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-tokens
# yarn
yarn add @escape.tech/graphql-armor-max-tokens