Skip to content
JS
Package

graphql-query-complexity

Validation rule for GraphQL query complexity analysis

v2.0.0, 23 Jul 2026MITESM + CommonJSTypes: BundledGraphQLSchema validation
$ npm install graphql-query-complexity

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
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.3m (14 Jul 2026)Low 217.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v2 first release 2.0.0, 23 Jul 2026
  2. v1 first release 1.0.0, 10 Jun 2024
  3. v0 first release 0.1.0, 2 Aug 2017

Recent releases

VersionPublished
2.0.023 Jul 2026
1.1.111 Jun 2026
1.1.08 Apr 2025
1.0.010 Jun 2024
0.12.029 Aug 2022
0.11.08 Nov 2021
0.10.028 Oct 2021
0.9.09 Aug 2021
0.8.14 May 2021
0.8.018 Mar 2021
0.7.220 Nov 2020
0.7.11 Nov 2020
0.7.012 Aug 2020
0.6.025 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/graphql-query-complexity@2.0.0/
  • unpkghttps://unpkg.com/graphql-query-complexity@2.0.0/
  • esm.shhttps://esm.sh/graphql-query-complexity@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@pothos/plugin-validation39.7k-11 days agoESM + CommonJS-
graphql-scalars2.2m-1 month agoESM + CommonJSgraphql-scalars vs graphql-query-complexity
tamedevil33.9k-4 months agoCommonJS-
quicktype-core398.8k-2 months agoESM + CommonJS-
quicktype172.7k--CommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.