Package
graphql-query-complexity
Validation rule for GraphQL query complexity analysis
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 772k
- +108% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 2 months ago
- v2.0.0
- GitHub stars
- 750
- 42 forks
- Open issues / PRs
- 9 / 4
- Contributors
- -
- Commits, last 52 weeks
- 4
Downloads
Last week 2026-09-15 to 2026-09-21
772,025 downloads last week, 3,539,556 in the last month. The 12-month change of +108% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 225 in total
- Latest version
- 2.0.0, 23 Jul 20262 months ago
- First published
- 2 Aug 2017
- Last push to GitHub
- 23 Jul 202664 days before the snapshot
- Repository archived
- No
- Open issues
- 9
- Open pull requests
- 4
- Commits, last 52 weeks
- 4
- Dependents on npm
- 94
Major versions
- v2 first release 2.0.0, 23 Jul 2026
- v1 first release 1.0.0, 10 Jun 2024
- v0 first release 0.1.0, 2 Aug 2017
Recent releases
| Version | Published |
|---|---|
| 2.0.0 | 23 Jul 2026 |
| 1.1.1 | 11 Jun 2026 |
| 1.1.0 | 8 Apr 2025 |
| 1.0.0 | 10 Jun 2024 |
| 0.12.0 | 29 Aug 2022 |
| 0.11.0 | 8 Nov 2021 |
| 0.10.0 | 28 Oct 2021 |
| 0.9.0 | 9 Aug 2021 |
| 0.8.1 | 4 May 2021 |
| 0.8.0 | 18 Mar 2021 |
| 0.7.2 | 20 Nov 2020 |
| 0.7.1 | 1 Nov 2020 |
| 0.7.0 | 12 Aug 2020 |
| 0.6.0 | 25 May 2020 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 60 kB
- Dependencies (1)
lodash.get- Peer dependencies (1)
graphql
npm install graphql-query-complexity- jsDelivr
https://cdn.jsdelivr.net/npm/graphql-query-complexity@2.0.0/ - unpkg
https://unpkg.com/graphql-query-complexity@2.0.0/ - esm.sh
https://esm.sh/graphql-query-complexity@2.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @pothos/plugin-validation | 39.7k | - | 11 days ago | ESM + CommonJS | - |
| graphql-scalars | 2.2m | - | 1 month ago | ESM + CommonJS | graphql-scalars vs graphql-query-complexity |
| tamedevil | 33.9k | - | 4 months ago | CommonJS | - |
| quicktype-core | 398.8k | - | 2 months ago | ESM + CommonJS | - |
| quicktype | 172.7k | - | - | CommonJS | - |
Indexability: Indexed.