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

> Limit the number of aliases allowed in a GraphQL query.

Latest version **2.6.2** (published 2025-06-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @escape.tech/graphql-armor-max-aliases
pnpm add @escape.tech/graphql-armor-max-aliases
yarn add @escape.tech/graphql-armor-max-aliases
bun add @escape.tech/graphql-armor-max-aliases
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.6.2 |
| Published | 2025-06-16 |
| First published | 2022-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 1 |
| Unpacked size | 14.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 589 |
| Author | Escape Technologies SAS |
| Maintainers | icarossio, steffthestunt, gby56, mathieu.rousse |

## Links

- npm: https://www.npmjs.com/package/@escape.tech/graphql-armor-max-aliases
- Repository: https://github.com/Escape-Technologies/graphql-armor
- Issues: https://github.com/Escape-Technologies/graphql-armor/issues
- npm.io page: https://npm.io/package/@escape.tech/graphql-armor-max-aliases

## Dependencies (1)

- [graphql](https://npm.io/package/graphql.md) ^16.10.0

## Recent versions

- 2.6.2 (latest) — 2025-06-16
- 2.6.1 — 2025-04-16
- 2.6.0 — 2024-10-11
- 2.5.0 — 2024-07-04
- 2.4.0 — 2024-05-23
- 2.3.0 — 2023-12-20
- 2.2.0 — 2023-10-26
- 2.1.0 — 2023-06-27
- 2.0.0 — 2023-05-29
- 1.7.2 — 2023-04-06
- 1.7.1 — 2023-03-28
- 1.7.0 — 2023-03-17
- 1.6.1 — 2023-01-09
- 1.6.0 — 2022-11-22
- 1.5.0 — 2022-10-10
- … 12 more at https://npm.io/package/@escape.tech/graphql-armor-max-aliases/versions

## README

# @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:

```bash
# 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](https://escape.tech/graphql-armor/docs/plugins/max-aliases)

---
_Source: https://npm.io/package/@escape.tech/graphql-armor-max-aliases · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
